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

Detailed Description

Definition at line 53 of file gurobi_solver.h.

#include <gurobi_solver.h>

Inheritance diagram for operations_research::math_opt::GurobiSolver:
operations_research::math_opt::SolverInterface

Public Member Functions

absl::StatusOr< SolveResultProtoSolve (const SolveParametersProto &parameters, const ModelSolveParametersProto &model_parameters, MessageCallback message_cb, const CallbackRegistrationProto &callback_registration, Callback cb, const SolveInterrupter *absl_nullable interrupter) override
absl::StatusOr< bool > Update (const ModelUpdateProto &model_update) override
absl::StatusOr< ComputeInfeasibleSubsystemResultProtoComputeInfeasibleSubsystem (const SolveParametersProto &parameters, MessageCallback message_cb, const SolveInterrupter *absl_nullable 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

Static Public Member Functions

static absl::StatusOr< std::unique_ptr< GurobiSolver > > New (const ModelProto &input_model, const SolverInterface::InitArgs &init_args)

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

Member Function Documentation

◆ ComputeInfeasibleSubsystem()

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

Implements operations_research::math_opt::SolverInterface.

Definition at line 3103 of file gurobi_solver.cc.

◆ New()

absl::StatusOr< std::unique_ptr< GurobiSolver > > operations_research::math_opt::GurobiSolver::New ( const ModelProto & input_model,
const SolverInterface::InitArgs & init_args )
static

Definition at line 2760 of file gurobi_solver.cc.

◆ Solve()

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

Implements operations_research::math_opt::SolverInterface.

Definition at line 2969 of file gurobi_solver.cc.

◆ Update()

absl::StatusOr< bool > operations_research::math_opt::GurobiSolver::Update ( const ModelUpdateProto & model_update)
overridevirtual

Implements operations_research::math_opt::SolverInterface.

Definition at line 2532 of file gurobi_solver.cc.


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