OR-Tools  9.3
facility_lp_benders.cc File Reference

Go to the source code of this file.

Functions

 ABSL_FLAG (int, num_facilities, 3000, "Number of facilities.")
 
 ABSL_FLAG (int, num_locations, 50, "Number of locations.")
 
 ABSL_FLAG (double, edge_probability, 0.99, "Edge probability.")
 
 ABSL_FLAG (double, benders_precission, 1e-9, "Benders target precission.")
 
 ABSL_FLAG (double, location_demand, 1, "Client demands.")
 
 ABSL_FLAG (double, facility_cost, 100, "Facility capacity cost.")
 
 ABSL_FLAG (double, location_fraction, 0.001, "Fraction of a facility's capacity that can be used by each location.")
 
 ABSL_FLAG (operations_research::math_opt::SolverType, solver_type, operations_research::math_opt::SolverType::kGlop, "the LP solver to use, possible values: glop, gurobi, glpk, pdlp")
 
int main (int argc, char **argv)
 

Function Documentation

◆ ABSL_FLAG() [1/8]

ABSL_FLAG ( double  ,
benders_precission  ,
1e-  9,
"Benders target precission."   
)

◆ ABSL_FLAG() [2/8]

ABSL_FLAG ( double  ,
edge_probability  ,
0.  99,
"Edge probability."   
)

◆ ABSL_FLAG() [3/8]

ABSL_FLAG ( double  ,
facility_cost  ,
100  ,
"Facility capacity cost."   
)

◆ ABSL_FLAG() [4/8]

ABSL_FLAG ( double  ,
location_demand  ,
,
"Client demands."   
)

◆ ABSL_FLAG() [5/8]

ABSL_FLAG ( double  ,
location_fraction  ,
0.  001,
"Fraction of a facility's capacity that can be used by each location."   
)

◆ ABSL_FLAG() [6/8]

ABSL_FLAG ( int  ,
num_facilities  ,
3000  ,
"Number of facilities."   
)

◆ ABSL_FLAG() [7/8]

ABSL_FLAG ( int  ,
num_locations  ,
50  ,
"Number of locations."   
)

◆ ABSL_FLAG() [8/8]

ABSL_FLAG ( operations_research::math_opt::SolverType  ,
solver_type  ,
operations_research::math_opt::SolverType::kGlop  ,
"the LP solver to  use,
possible values:glop  ,
gurobi  ,
glpk  ,
pdlp"   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 671 of file facility_lp_benders.cc.