C++ Reference: class RoutingCPSatWrapper

This documentation is automatically generated.

Method
Clear

Return type: void

ClearObjective

Return type: void

CreateNewConstraint

Return type: int

Arguments: int64 lower_bound, int64 upper_bound

CreateNewPositiveVariable

Return type: int

GetObjectiveCoefficient

Return type: double

Arguments: int index

GetObjectiveValue

Return type: double

GetValue

Return type: double

Arguments: int index

GetVariableLowerBound

Return type: int64

Arguments: int index

NumVariables

Return type: int

RoutingCPSatWrapper

~RoutingCPSatWrapper

SetCoefficient

Return type: void

Arguments: int ct_index, int index, double coefficient

SetObjectiveCoefficient

Return type: void

Arguments: int index, double coefficient

SetVariableBounds

Return type: bool

Arguments: int index, int64 lower_bound, int64 upper_bound

SetVariableDisjointBounds

Return type: void

Arguments: int index, const std::vector<int64>& starts, const std::vector<int64>& ends

Solve

Return type: bool

Arguments: absl::Duration duration_limit