OR-Tools  9.3
routing.cc File Reference

Go to the source code of this file.

Classes

class  RoutingModelInspector
 

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 

Macros

#define CP_ROUTING_PUSH_OPERATOR(operator_type, operator_method, operators)
 

Functions

DecisionBuilder * MakeSetValuesFromTargets (Solver *solver, std::vector< IntVar * > variables, std::vector< int64_t > targets)
 A decision builder which tries to assign values to variables as close as possible to target values first. More...
 
DecisionBuilder * MakeRestoreDimensionValuesForUnchangedRoutes (RoutingModel *model)
 
bool HasUnaryDimension (const std::vector< RoutingDimension * > &dimensions)
 
void FillPathEvaluation (const std::vector< int64_t > &path, const RoutingModel::TransitCallback2 &evaluator, std::vector< int64_t > *values)
 

Variables

static const int kUnassigned = -1
 

Macro Definition Documentation

◆ CP_ROUTING_PUSH_OPERATOR

#define CP_ROUTING_PUSH_OPERATOR (   operator_type,
  operator_method,
  operators 
)
Value:
if (search_parameters.local_search_operators().use_##operator_method() == \
BOOL_TRUE) { \
operators.push_back(local_search_operators_[operator_type]); \
}

Definition at line 4643 of file routing.cc.