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

Detailed Description

Definition at line 122 of file solver_interface_mock.h.

#include <solver_interface_mock.h>

Inheritance diagram for operations_research::math_opt::DelegatingSolver:
operations_research::math_opt::SolverInterface

Public Member Functions

 DelegatingSolver (SolverInterface *const solver, std::function< void()> destructor_cb=nullptr)
 ~DelegatingSolver () override
absl::StatusOr< SolveResultProtoSolve (const SolveParametersProto &parameters, const ModelSolveParametersProto &model_parameters, MessageCallback message_cb, const CallbackRegistrationProto &callback_registration, Callback cb, const SolveInterrupter *absl_nullable const interrupter) override
absl::StatusOr< bool > Update (const ModelUpdateProto &model_update) override
absl::StatusOr< ComputeInfeasibleSubsystemResultProtoComputeInfeasibleSubsystem (const SolveParametersProto &parameters, MessageCallback message_cb, const SolveInterrupter *absl_nullable const interrupter) override
Public Member Functions inherited from operations_research::math_opt::SolverInterface
 SolverInterface ()=default
 SolverInterface (const SolverInterface &)=delete
SolverInterfaceoperator= (const SolverInterface &)=delete
virtual ~SolverInterface ()=default

Additional Inherited Members

Public Types inherited from operations_research::math_opt::SolverInterface
using MessageCallback = std::function<void(const std::vector<std::string>&)>
using Callback
using Factory

Constructor & Destructor Documentation

◆ DelegatingSolver()

operations_research::math_opt::DelegatingSolver::DelegatingSolver ( SolverInterface *const solver,
std::function< void()> destructor_cb = nullptr )
inlineexplicit

Definition at line 126 of file solver_interface_mock.h.

◆ ~DelegatingSolver()

operations_research::math_opt::DelegatingSolver::~DelegatingSolver ( )
inlineoverride

Definition at line 131 of file solver_interface_mock.h.

Member Function Documentation

◆ ComputeInfeasibleSubsystem()

absl::StatusOr< ComputeInfeasibleSubsystemResultProto > operations_research::math_opt::DelegatingSolver::ComputeInfeasibleSubsystem ( const SolveParametersProto & parameters,
MessageCallback message_cb,
const SolveInterrupter *absl_nullable const interrupter )
inlineoverridevirtual

◆ Solve()

absl::StatusOr< SolveResultProto > operations_research::math_opt::DelegatingSolver::Solve ( const SolveParametersProto & parameters,
const ModelSolveParametersProto & model_parameters,
MessageCallback message_cb,
const CallbackRegistrationProto & callback_registration,
Callback cb,
const SolveInterrupter *absl_nullable const interrupter )
inlineoverridevirtual

◆ Update()

absl::StatusOr< bool > operations_research::math_opt::DelegatingSolver::Update ( const ModelUpdateProto & model_update)
inlineoverridevirtual

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