![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <routing_cuts.h>
Public Member Functions | |
const AffineExpression & | GetNodeExpression (int node, int dimension) const |
Public Attributes | |
int | num_dimensions = 0 |
std::vector< AffineExpression > | flat_node_dim_expressions |
Helper to recover the mapping between nodes and "cumul" expressions in simple cases of route constraints (at most one expression per node and "dimension" – such as time or load, and at most one relation per arc and dimension).
This returns an empty vector and num_dimensions == 0 if nothing is detected. Otherwise it returns one expression per node and dimensions.
Definition at line 53 of file routing_cuts.h.
|
inline |
Definition at line 54 of file routing_cuts.h.
std::vector<AffineExpression> operations_research::sat::RoutingCumulExpressions::flat_node_dim_expressions |
Definition at line 59 of file routing_cuts.h.
int operations_research::sat::RoutingCumulExpressions::num_dimensions = 0 |
Definition at line 58 of file routing_cuts.h.