20#ifndef OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_
21#define OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_
27#include "absl/status/statusor.h"
28#include "ortools/math_opt/parameters.pb.h"
29#include "ortools/math_opt/solvers/gurobi.pb.h"
58 GurobiInitializerProto::ISVKey
Proto()
const;
60 const GurobiInitializerProto::ISVKey& key_proto);
70 GurobiInitializerProto
Proto()
const;
74 const GurobiInitializerProto& args_proto);
84 std::optional<StreamableCpSatInitArguments>
cp_sat;
85 std::optional<StreamableGScipInitArguments>
gscip;
86 std::optional<StreamableGlopInitArguments>
glop;
87 std::optional<StreamableGlpkInitArguments>
glpk;
88 std::optional<StreamableGurobiInitArguments>
gurobi;
91 SolverInitializerProto
Proto()
const;
94 static absl::StatusOr<StreamableSolverInitArguments>
FromProto(
95 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