23 #ifndef OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_
24 #define OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_
30 #include "absl/status/statusor.h"
31 #include "ortools/math_opt/parameters.pb.h"
32 #include "ortools/math_opt/solvers/gurobi.pb.h"
61 GurobiInitializerProto::ISVKey
Proto()
const;
63 const GurobiInitializerProto::ISVKey& key_proto);
73 GurobiInitializerProto
Proto()
const;
77 const GurobiInitializerProto& args_proto);
87 std::optional<StreamableCpSatInitArguments>
cp_sat;
88 std::optional<StreamableGScipInitArguments>
gscip;
89 std::optional<StreamableGlopInitArguments>
glop;
90 std::optional<StreamableGlpkInitArguments>
glpk;
91 std::optional<StreamableGurobiInitArguments>
gurobi;
94 SolverInitializerProto
Proto()
const;
97 static absl::StatusOr<StreamableSolverInitArguments>
FromProto(
98 const SolverInitializerProto& args_proto);
Collection of objects used to extend the Constraint Solver library.
static GurobiISVKey FromProto(const GurobiInitializerProto::ISVKey &key_proto)
GurobiInitializerProto::ISVKey Proto() const
std::string application_name
GurobiInitializerProto Proto() const
std::optional< GurobiISVKey > isv_key
static StreamableGurobiInitArguments FromProto(const GurobiInitializerProto &args_proto)
SolverInitializerProto Proto() const
std::optional< StreamableGlpkInitArguments > glpk
std::optional< StreamableCpSatInitArguments > cp_sat
static absl::StatusOr< StreamableSolverInitArguments > FromProto(const SolverInitializerProto &args_proto)
std::optional< StreamableGScipInitArguments > gscip
std::optional< StreamableGlopInitArguments > glop
std::optional< StreamableGurobiInitArguments > gurobi