![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 55 of file solver_interface.h.
#include <solver_interface.h>
Classes | |
| struct | InitArgs |
Public Types | |
| using | MessageCallback = std::function<void(const std::vector<std::string>&)> |
| using | Callback |
| using | Factory |
Public Member Functions | |
| SolverInterface ()=default | |
| SolverInterface (const SolverInterface &)=delete | |
| SolverInterface & | operator= (const SolverInterface &)=delete |
| virtual | ~SolverInterface ()=default |
| virtual absl::StatusOr< SolveResultProto > | Solve (const SolveParametersProto ¶meters, const ModelSolveParametersProto &model_parameters, MessageCallback message_cb, const CallbackRegistrationProto &callback_registration, Callback cb, const SolveInterrupter *absl_nullable interrupter)=0 |
| virtual absl::StatusOr< bool > | Update (const ModelUpdateProto &model_update)=0 |
| virtual absl::StatusOr< ComputeInfeasibleSubsystemResultProto > | ComputeInfeasibleSubsystem (const SolveParametersProto ¶meters, MessageCallback message_cb, const SolveInterrupter *absl_nullable interrupter)=0 |
Definition at line 96 of file solver_interface.h.
Definition at line 108 of file solver_interface.h.
| using operations_research::math_opt::SolverInterface::MessageCallback = std::function<void(const std::vector<std::string>&)> |
Definition at line 72 of file solver_interface.h.
|
default |
|
delete |
|
virtualdefault |
|
pure virtual |
Implemented in operations_research::math_opt::CpSatSolver, operations_research::math_opt::DelegatingSolver, operations_research::math_opt::GlopSolver, operations_research::math_opt::GlpkSolver, operations_research::math_opt::GScipSolver, operations_research::math_opt::GurobiSolver, operations_research::math_opt::HighsSolver, and operations_research::math_opt::PdlpSolver.
|
delete |
|
pure virtual |
Implemented in operations_research::math_opt::CpSatSolver, operations_research::math_opt::DelegatingSolver, operations_research::math_opt::GlopSolver, operations_research::math_opt::GlpkSolver, operations_research::math_opt::GScipSolver, operations_research::math_opt::GurobiSolver, operations_research::math_opt::HighsSolver, and operations_research::math_opt::PdlpSolver.
|
pure virtual |
Implemented in operations_research::math_opt::CpSatSolver, operations_research::math_opt::DelegatingSolver, operations_research::math_opt::GlopSolver, operations_research::math_opt::GlpkSolver, operations_research::math_opt::GScipSolver, operations_research::math_opt::GurobiSolver, operations_research::math_opt::HighsSolver, operations_research::math_opt::PdlpSolver, and operations_research::math_opt::XpressSolver.