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."],[[["`RoutingLinearSolverWrapper` is a C++ class providing an interface to interact with linear solvers for routing problems."],["It allows adding variables and constraints (linear, maximum, product, reified linear) to the solver."],["Users can set objective functions, solve the problem with time limits, and retrieve solution values."],["Methods like `SetParameters` enable customization of the underlying solver's behavior."],["The class facilitates integration with the OR-Tools library for solving complex routing and scheduling scenarios."]]],["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"]]