Adds a linear constraint and a 0/1 variable that is true iff
lower_bound <= sum variable * coeff <= upper_bound,
and returns the identifier of that variable.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eRoutingLinearSolverWrapper\u003c/code\u003e is a C++ class providing an interface to interact with linear solvers for routing problems.\u003c/p\u003e\n"],["\u003cp\u003eIt allows adding variables and constraints (linear, maximum, product, reified linear) to the solver.\u003c/p\u003e\n"],["\u003cp\u003eUsers can set objective functions, solve the problem with time limits, and retrieve solution values.\u003c/p\u003e\n"],["\u003cp\u003eMethods like \u003ccode\u003eSetParameters\u003c/code\u003e enable customization of the underlying solver's behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe class facilitates integration with the OR-Tools library for solving complex routing and scheduling scenarios.\u003c/p\u003e\n"]]],["The `RoutingLinearSolverWrapper` class facilitates linear constraint management. Key actions include adding linear constraints with bounds (`AddLinearConstraint`, `AddReifiedLinearConstraint`), managing variables (`AddVariable`, `SetVariableBounds`, `SetVariableName`), and handling the objective function (`AddObjectiveConstraint`, `ClearObjective`, `SetObjectiveCoefficient`). It allows for adding maximum and product constraints (`AddMaximumConstraint`, `AddProductConstraint`). It also features methods for solving (`Solve`), checking solutions (`SolutionIsInteger`), and clearing data (`Clear`). Other functions help to retrieve values and data for constraints.\n"],null,[]]