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);
In SWIG mode, we don't want anything besides these top-level includes.
std::string application_name
static GurobiISVKey FromProto(const GurobiInitializerProto::ISVKey &key_proto)
GurobiInitializerProto::ISVKey Proto() const
Streamable CpSat specific parameters for solver instantiation.
Streamable GScip specific parameters for solver instantiation.
Streamable Glop specific parameters for solver instantiation.
Streamable Glpk specific parameters for solver instantiation.
Streamable Gurobi specific parameters for solver instantiation.
static StreamableGurobiInitArguments FromProto(const GurobiInitializerProto &args_proto)
Parses the proto corresponding to these parameters.
GurobiInitializerProto Proto() const
Returns the proto corresponding to these parameters.
std::optional< GurobiISVKey > isv_key
Streamable Pdlp specific parameters for solver instantiation.
std::optional< StreamableCpSatInitArguments > cp_sat
SolverInitializerProto Proto() const
Returns the proto corresponding to these parameters.
std::optional< StreamableGurobiInitArguments > gurobi
std::optional< StreamableGlpkInitArguments > glpk
std::optional< StreamableGlopInitArguments > glop
std::optional< StreamableGScipInitArguments > gscip
static absl::StatusOr< StreamableSolverInitArguments > FromProto(const SolverInitializerProto &args_proto)
Parses the proto corresponding to these parameters.