Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::StreamableSolverInitArguments Struct Reference

#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< StreamableSolverInitArgumentsFromProto (const SolverInitializerProto &args_proto)
 Parses the proto corresponding to these parameters.
 

Public Attributes

std::optional< StreamableCpSatInitArgumentscp_sat
 
std::optional< StreamableGScipInitArgumentsgscip
 
std::optional< StreamableGlopInitArgumentsglop
 
std::optional< StreamableGlpkInitArgumentsglpk
 
std::optional< StreamableGurobiInitArgumentsgurobi
 

Detailed Description

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.

Member Function Documentation

◆ FromProto()

absl::StatusOr< StreamableSolverInitArguments > operations_research::math_opt::StreamableSolverInitArguments::FromProto ( const SolverInitializerProto & args_proto)
static

Parses the proto corresponding to these parameters.

Definition at line 74 of file streamable_solver_init_arguments.cc.

◆ Proto()

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.

Member Data Documentation

◆ cp_sat

std::optional<StreamableCpSatInitArguments> operations_research::math_opt::StreamableSolverInitArguments::cp_sat

Definition at line 87 of file streamable_solver_init_arguments.h.

◆ glop

std::optional<StreamableGlopInitArguments> operations_research::math_opt::StreamableSolverInitArguments::glop

Definition at line 89 of file streamable_solver_init_arguments.h.

◆ glpk

std::optional<StreamableGlpkInitArguments> operations_research::math_opt::StreamableSolverInitArguments::glpk

Definition at line 90 of file streamable_solver_init_arguments.h.

◆ gscip

std::optional<StreamableGScipInitArguments> operations_research::math_opt::StreamableSolverInitArguments::gscip

Definition at line 88 of file streamable_solver_init_arguments.h.

◆ gurobi

std::optional<StreamableGurobiInitArguments> operations_research::math_opt::StreamableSolverInitArguments::gurobi

Definition at line 91 of file streamable_solver_init_arguments.h.


The documentation for this struct was generated from the following files: