Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class RoutingGlopWrapper
Note: This documentation is automatically generated.
Method |
AddMaximumConstraint | Return type: void Arguments: int /*max_var*/,
std::vector<int> /*vars*/ |
AddObjectiveConstraint | Return type: void |
AddProductConstraint | Return type: void Arguments: int /*product_var*/,
std::vector<int> /*vars*/ |
Clear | Return type: void |
ClearObjective | Return type: void |
CreateNewConstraint | Return type: int Arguments: int64_t lower_bound, int64_t upper_bound |
CreateNewPositiveVariable | Return type: int |
GetObjectiveCoefficient | Return type: double Arguments: int index |
GetObjectiveValue | Return type: int64_t |
GetValue | Return type: double Arguments: int index |
GetVariableLowerBound | Return type: int64_t Arguments: int index |
GetVariableUpperBound | Return type: int64_t Arguments: int index |
IsCPSATSolver | Return type: bool |
NumVariables | Return type: int |
RoutingGlopWrapper | Arguments: bool is_relaxation, const glop::GlopParameters& parameters |
SetCoefficient | Return type: void Arguments: int ct, int index, double coefficient |
SetEnforcementLiteral | Return type: void Arguments: int /*ct*/, int /*condition*/ |
SetObjectiveCoefficient | Return type: void Arguments: int index, double coefficient |
SetParameters | Return type: void Arguments: const std::string& parameters |
SetVariableBounds | Return type: bool Arguments: int index, int64_t lower_bound,
int64_t upper_bound |
SetVariableDisjointBounds | Return type: void Arguments: int index, const std::vector<int64_t>& starts,
const std::vector<int64_t>& ends |
SetVariableName | Return type: void Arguments: int index, absl::string_view name |
SolutionIsInteger | Return type: bool |
Solve | Return type: DimensionSchedulingStatus Arguments: absl::Duration duration_limit |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-09-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]