Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <streamable_solver_init_arguments.h>
Public Member Functions | |
SolverInitializerProto | Proto () const |
Returns the proto corresponding to these parameters. | |
Static Public Member Functions | |
static absl::StatusOr< StreamableSolverInitArguments > | FromProto (const SolverInitializerProto &args_proto) |
Parses the proto corresponding to these parameters. | |
Public Attributes | |
std::optional< StreamableCpSatInitArguments > | cp_sat |
std::optional< StreamableGScipInitArguments > | gscip |
std::optional< StreamableGlopInitArguments > | glop |
std::optional< StreamableGlpkInitArguments > | glpk |
std::optional< StreamableGurobiInitArguments > | gurobi |
Solver initialization parameters that can be streamed to be exchanged with another process.
Parameters that can't be streamed (for example instances of C/C++ types that only exist in the process memory) are dealt with implementations of the NonStreamableSolverInitArguments.
Definition at line 86 of file streamable_solver_init_arguments.h.
|
static |
Parses the proto corresponding to these parameters.
Definition at line 74 of file streamable_solver_init_arguments.cc.
SolverInitializerProto operations_research::math_opt::StreamableSolverInitArguments::Proto | ( | ) | const |
Returns the proto corresponding to these parameters.
Definition at line 63 of file streamable_solver_init_arguments.cc.
std::optional<StreamableCpSatInitArguments> operations_research::math_opt::StreamableSolverInitArguments::cp_sat |
Definition at line 87 of file streamable_solver_init_arguments.h.
std::optional<StreamableGlopInitArguments> operations_research::math_opt::StreamableSolverInitArguments::glop |
Definition at line 89 of file streamable_solver_init_arguments.h.
std::optional<StreamableGlpkInitArguments> operations_research::math_opt::StreamableSolverInitArguments::glpk |
Definition at line 90 of file streamable_solver_init_arguments.h.
std::optional<StreamableGScipInitArguments> operations_research::math_opt::StreamableSolverInitArguments::gscip |
Definition at line 88 of file streamable_solver_init_arguments.h.
std::optional<StreamableGurobiInitArguments> operations_research::math_opt::StreamableSolverInitArguments::gurobi |
Definition at line 91 of file streamable_solver_init_arguments.h.