Go to the source code of this file.
|
| operations_research |
| The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.
|
|
|
#define | COND_REV_ALLOC(rev, alloc) rev ? solver()->RevAlloc(alloc) : alloc; |
|
|
| ABSL_FLAG (bool, cp_disable_expression_optimization, false, "Disable special optimization when creating expressions.") |
|
| ABSL_FLAG (bool, cp_share_int_consts, true, "Share IntConst's with the same value.") |
|
void | CleanVariableOnFail (IntVar *const var) |
|
Constraint * | SetIsEqual (IntVar *const var, const std::vector< int64 > &values, const std::vector< IntVar * > &vars) |
|
Constraint * | SetIsGreaterOrEqual (IntVar *const var, const std::vector< int64 > &values, const std::vector< IntVar * > &vars) |
|
void | RestoreBoolValue (IntVar *const var) |
|
void | LinkVarExpr (Solver *const s, IntExpr *const expr, IntVar *const var) |
|
◆ COND_REV_ALLOC
#define COND_REV_ALLOC |
( |
|
rev, |
|
|
|
alloc |
|
) |
| rev ? solver()->RevAlloc(alloc) : alloc; |
◆ ABSL_FLAG() [1/2]
ABSL_FLAG |
( |
bool |
, |
|
|
cp_disable_expression_optimization |
, |
|
|
false |
, |
|
|
"Disable special optimization when creating expressions." |
|
|
) |
| |
◆ ABSL_FLAG() [2/2]
ABSL_FLAG |
( |
bool |
, |
|
|
cp_share_int_consts |
, |
|
|
true |
, |
|
|
"Share IntConst's with the same value." |
|
|
) |
| |
◆ cst_
◆ iterator_
IntVarIterator* const iterator_ |
|
protected |
◆ limit_
◆ pow_
◆ solver_