C++ Reference: class RoutingLinearSolverWrapper
Note: This documentation is automatically generated.
Method | |
---|---|
AddLinearConstraint | Return type: Arguments: Adds a linear constraint, enforcing lower_bound <= sum variable * coeff <= upper_bound, and returns the identifier of that constraint. |
AddMaximumConstraint | Return type: Arguments: |
AddObjectiveConstraint | Return type: |
AddProductConstraint | Return type: Arguments: |
AddReifiedLinearConstraint | Return type: Arguments: 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. |
AddVariable | Return type: Arguments: Adds a variable with bounds [lower_bound, upper_bound]. |
Clear | Return type: |
ClearObjective | Return type: |
CreateNewConstraint | Return type: Arguments: |
CreateNewPositiveVariable | Return type: |
GetObjectiveCoefficient | Return type: Arguments: |
GetObjectiveValue | Return type: |
GetValue | Return type: Arguments: |
GetVariableLowerBound | Return type: Arguments: |
GetVariableUpperBound | Return type: Arguments: |
IsCPSATSolver | Return type: |
NumVariables | Return type: |
~RoutingLinearSolverWrapper | Return type: |
SetCoefficient | Return type: Arguments: |
SetEnforcementLiteral | Return type: Arguments: |
SetObjectiveCoefficient | Return type: Arguments: |
SetParameters | Return type: Arguments: This function is meant to override the parameters of the solver. |
SetVariableBounds | Return type: Arguments: |
SetVariableDisjointBounds | Return type: Arguments: |
SetVariableName | Return type: Arguments: |
SolutionIsInteger | Return type: |
Solve | Return type: Arguments: |