OR-Tools  9.6
cvrptw_with_precedences.cc File Reference

Go to the source code of this file.

Functions

 ABSL_FLAG (int, vrp_orders, 100, "Nodes in the problem.")
 
 ABSL_FLAG (int, vrp_vehicles, 20, "Size of Traveling Salesman Problem instance.")
 
 ABSL_FLAG (bool, vrp_use_deterministic_random_seed, false, "Use deterministic random seeds.")
 
 ABSL_FLAG (bool, vrp_use_same_vehicle_costs, false, "Use same vehicle costs in the routing model")
 
 ABSL_FLAG (std::string, routing_search_parameters, "", "Text proto RoutingSearchParameters (possibly partial) that will " "override the DefaultRoutingSearchParameters()")
 
 ABSL_FLAG (int, vrp_precedences, 5, "Number of precedence indices. Precedences will be chosen " "randomly with the constraint that they don't form cycles.")
 
 ABSL_FLAG (int64_t, vrp_precedence_offset, 100, "The offset that applies to the precedences. For each pair linked " "by a precedence constraint, pair.second can only start after the " "start of pair.first + offset.")
 
int main (int argc, char **argv)
 

Variables

const char * kTime = "Time"
 
const char * kCapacity = "Capacity"
 
const int64_t kMaxNodesPerGroup = 10
 
const int64_t kSameVehicleCost = 1000
 

Function Documentation

◆ ABSL_FLAG() [1/7]

ABSL_FLAG ( bool  ,
vrp_use_deterministic_random_seed  ,
false  ,
"Use deterministic random seeds."   
)

◆ ABSL_FLAG() [2/7]

ABSL_FLAG ( bool  ,
vrp_use_same_vehicle_costs  ,
false  ,
"Use same vehicle costs in the routing model  
)

◆ ABSL_FLAG() [3/7]

ABSL_FLAG ( int  ,
vrp_orders  ,
100  ,
"Nodes in the problem."   
)

◆ ABSL_FLAG() [4/7]

ABSL_FLAG ( int  ,
vrp_precedences  ,
,
"Number of precedence indices. Precedences will be chosen " "randomly with the constraint that they don't form cycles."   
)

◆ ABSL_FLAG() [5/7]

ABSL_FLAG ( int  ,
vrp_vehicles  ,
20  ,
"Size of Traveling Salesman Problem instance."   
)

◆ ABSL_FLAG() [6/7]

ABSL_FLAG ( int64_t  ,
vrp_precedence_offset  ,
100  ,
"The offset that applies to the precedences. For each pair linked " "by a precedence  constraint,
pair.second can only start after the " "start of pair.first+offset."   
)

◆ ABSL_FLAG() [7/7]

ABSL_FLAG ( std::string  ,
routing_search_parameters  ,
""  ,
"Text proto RoutingSearchParameters (possibly partial) that will " "override the DefaultRoutingSearchParameters()"   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 77 of file cvrptw_with_precedences.cc.

Variable Documentation

◆ kCapacity

const char* kCapacity = "Capacity"

Definition at line 73 of file cvrptw_with_precedences.cc.

◆ kMaxNodesPerGroup

const int64_t kMaxNodesPerGroup = 10

Definition at line 74 of file cvrptw_with_precedences.cc.

◆ kSameVehicleCost

const int64_t kSameVehicleCost = 1000

Definition at line 75 of file cvrptw_with_precedences.cc.

◆ kTime

const char* kTime = "Time"

Definition at line 72 of file cvrptw_with_precedences.cc.