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

Detailed Description

Definition at line 45 of file xpress_solver.h.

#include <xpress_solver.h>

Inheritance diagram for operations_research::math_opt::XpressSolver:
operations_research::math_opt::SolverInterface

Classes

struct  LinearConstraintData

Public Types

using VarId = int64_t
using AuxiliaryObjectiveId = int64_t
using LinearConstraintId = int64_t
using QuadraticConstraintId = int64_t
using SecondOrderConeConstraintId = int64_t
using Sos1ConstraintId = int64_t
using Sos2ConstraintId = int64_t
using IndicatorConstraintId = int64_t
using AnyConstraintId = int64_t
using XpressVariableIndex = int
using XpressMultiObjectiveIndex = int
using XpressLinearConstraintIndex = int
using XpressQuadraticConstraintIndex = int
using XpressSosConstraintIndex = int
using XpressGeneralConstraintIndex = int
using XpressAnyConstraintIndex = int
Public Types inherited from operations_research::math_opt::SolverInterface
using MessageCallback = std::function<void(const std::vector<std::string>&)>
using Callback
using Factory

Public Member Functions

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

Static Public Member Functions

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

Member Typedef Documentation

◆ AnyConstraintId

◆ AuxiliaryObjectiveId

◆ IndicatorConstraintId

◆ LinearConstraintId

◆ QuadraticConstraintId

◆ SecondOrderConeConstraintId

◆ Sos1ConstraintId

◆ Sos2ConstraintId

◆ VarId

Definition at line 74 of file xpress_solver.h.

◆ XpressAnyConstraintIndex

◆ XpressGeneralConstraintIndex

◆ XpressLinearConstraintIndex

◆ XpressMultiObjectiveIndex

◆ XpressQuadraticConstraintIndex

◆ XpressSosConstraintIndex

◆ XpressVariableIndex

Member Function Documentation

◆ ComputeInfeasibleSubsystem()

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

Definition at line 2114 of file xpress_solver.cc.

◆ New()

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

Definition at line 907 of file xpress_solver.cc.

◆ Solve()

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

Definition at line 1502 of file xpress_solver.cc.

◆ Update()

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

Implements operations_research::math_opt::SolverInterface.

Definition at line 2106 of file xpress_solver.cc.


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