Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::AllSolversRegistry Class Reference

Detailed Description

Definition at line 181 of file solver_interface.h.

#include <solver_interface.h>

Public Member Functions

 AllSolversRegistry (const AllSolversRegistry &)=delete
AllSolversRegistryoperator= (const AllSolversRegistry &)=delete
void Register (SolverTypeProto solver_type, SolverInterface::Factory factory)
absl::StatusOr< std::unique_ptr< SolverInterface > > Create (SolverTypeProto solver_type, const ModelProto &model, const SolverInterface::InitArgs &init_args) const
bool IsRegistered (SolverTypeProto solver_type) const
std::vector< SolverTypeProtoRegisteredSolvers () const
std::string RegisteredSolversToString () const

Static Public Member Functions

static AllSolversRegistry *absl_nonnull Instance ()

Friends

class WithAlternateAllSolversRegistry

Constructor & Destructor Documentation

◆ AllSolversRegistry()

operations_research::math_opt::AllSolversRegistry::AllSolversRegistry ( const AllSolversRegistry & )
delete

Member Function Documentation

◆ Create()

absl::StatusOr< std::unique_ptr< SolverInterface > > operations_research::math_opt::AllSolversRegistry::Create ( SolverTypeProto solver_type,
const ModelProto & model,
const SolverInterface::InitArgs & init_args ) const

Definition at line 126 of file solver_interface.cc.

◆ Instance()

AllSolversRegistry *absl_nonnull operations_research::math_opt::AllSolversRegistry::Instance ( )
static

Definition at line 59 of file solver_interface.cc.

◆ IsRegistered()

bool operations_research::math_opt::AllSolversRegistry::IsRegistered ( SolverTypeProto solver_type) const

Definition at line 143 of file solver_interface.cc.

◆ operator=()

AllSolversRegistry & operations_research::math_opt::AllSolversRegistry::operator= ( const AllSolversRegistry & )
delete

◆ Register()

void operations_research::math_opt::AllSolversRegistry::Register ( SolverTypeProto solver_type,
SolverInterface::Factory factory )

Definition at line 114 of file solver_interface.cc.

◆ RegisteredSolvers()

std::vector< SolverTypeProto > operations_research::math_opt::AllSolversRegistry::RegisteredSolvers ( ) const

Definition at line 148 of file solver_interface.cc.

◆ RegisteredSolversToString()

std::string operations_research::math_opt::AllSolversRegistry::RegisteredSolversToString ( ) const

Definition at line 160 of file solver_interface.cc.

◆ WithAlternateAllSolversRegistry

friend class WithAlternateAllSolversRegistry
friend

Definition at line 213 of file solver_interface.h.


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