Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <parameters.h>
Public Member Functions | |
GurobiParametersProto | Proto () const |
bool | empty () const |
Static Public Member Functions | |
static GurobiParameters | FromProto (const GurobiParametersProto &proto) |
Public Attributes | |
gtl::linked_hash_map< std::string, std::string > | param_values |
Parameter name-value pairs to set in insertion order. | |
Gurobi specific parameters for solving. See https://www.gurobi.com/documentation/9.1/refman/parameters.html for a list of possible parameters.
Example use: GurobiParameters gurobi; gurobi.param_values["BarIterLimit"] = "10";
With Gurobi, the order that parameters are applied can have an impact in rare situations. Parameters are applied in the following order:
Definition at line 214 of file parameters.h.
|
inline |
Definition at line 221 of file parameters.h.
|
static |
Definition at line 188 of file parameters.cc.
GurobiParametersProto operations_research::math_opt::GurobiParameters::Proto | ( | ) | const |
Definition at line 178 of file parameters.cc.
gtl::linked_hash_map<std::string, std::string> operations_research::math_opt::GurobiParameters::param_values |
Parameter name-value pairs to set in insertion order.
Definition at line 216 of file parameters.h.