18#include "absl/status/statusor.h"
37 .name = key_proto.
name(),
40 .key = key_proto.
key(),
73absl::StatusOr<StreamableSolverInitArguments>
void set_expiration(::int32_t value)
const ::std::string & key() const
const ::std::string & application_name() const
::int32_t expiration() const
void set_application_name(Arg_ &&arg, Args_... args)
const ::std::string & name() const
void set_key(Arg_ &&arg, Args_... args)
void set_name(Arg_ &&arg, Args_... args)
bool has_isv_key() const
.operations_research.math_opt.GurobiInitializerProto.ISVKey isv_key = 1;
GurobiInitializerProto_ISVKey ISVKey
nested types -------------------------------------------------—
::operations_research::math_opt::GurobiInitializerProto_ISVKey *PROTOBUF_NONNULL mutable_isv_key()
const ::operations_research::math_opt::GurobiInitializerProto_ISVKey & isv_key() const
const ::operations_research::math_opt::GurobiInitializerProto & gurobi() const
bool has_gurobi() const
.operations_research.math_opt.GurobiInitializerProto gurobi = 1;
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NONNULL mutable_gurobi()
An object oriented wrapper for quadratic constraints in ModelStorage.
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 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
SolverInitializerProto Proto() const
Returns the proto corresponding to these parameters.
std::optional< StreamableGurobiInitArguments > gurobi
static absl::StatusOr< StreamableSolverInitArguments > FromProto(const SolverInitializerProto &args_proto)
Parses the proto corresponding to these parameters.