Google OR-Tools: operations_research::SCIPInterface Class Reference

Definition at line 81 of file scip_interface.cc.

operations_research::MPSolverInterface

Public Member Functions

 SCIPInterface (MPSolver *solver)
 ~SCIPInterface () override
void SetOptimizationDirection (bool maximize) override
MPSolver::ResultStatus Solve (const MPSolverParameters &param) override
bool SupportsDirectlySolveProto (std::atomic< bool > *interrupt) const override
MPSolutionResponse DirectlySolveProto (LazyMutableCopy< MPModelRequest > request, std::atomic< bool > *interrupt) override
void Reset () override
double infinity () override
void SetVariableBounds (int var_index, double lb, double ub) override
void SetVariableInteger (int var_index, bool integer) override
void SetConstraintBounds (int row_index, double lb, double ub) override
void AddRowConstraint (MPConstraint *ct) override
bool AddIndicatorConstraint (MPConstraint *ct) override
void AddVariable (MPVariable *var) override
void SetCoefficient (MPConstraint *constraint, const MPVariable *variable, double new_value, double old_value) override
void ClearConstraint (MPConstraint *constraint) override
void SetObjectiveCoefficient (const MPVariable *variable, double coefficient) override
void SetObjectiveOffset (double value) override
void ClearObjective () override
void BranchingPriorityChangedForVariable (int var_index) override
int64_t iterations () const override
int64_t nodes () const override
MPSolver::BasisStatus row_status (int) const override
MPSolver::BasisStatus column_status (int) const override
bool IsContinuous () const override
bool IsLP () const override
bool IsMIP () const override
void ExtractNewVariables () override
void ExtractNewConstraints () override
void ExtractObjective () override
std::string SolverVersion () const override
bool InterruptSolve () override
void * underlying_solver () override
bool NextSolution () override
void SetCallback (MPCallback *mp_callback) override
bool SupportsCallbacks () const override
Public Member Functions inherited from operations_research::MPSolverInterface
 MPSolverInterface (MPSolver *solver)
virtual ~MPSolverInterface ()
virtual void Write (const std::string &filename)
double best_objective_bound () const
double objective_value () const
bool CheckSolutionIsSynchronized () const
virtual bool CheckSolutionExists () const
bool CheckSolutionIsSynchronizedAndExists () const
int last_variable_index () const
bool variable_is_extracted (int var_index) const
void set_variable_as_extracted (int var_index, bool extracted)
bool constraint_is_extracted (int ct_index) const
void set_constraint_as_extracted (int ct_index, bool extracted)
bool quiet () const
void set_quiet (bool quiet_value)
MPSolver::ResultStatus result_status () const
virtual double ComputeExactConditionNumber () const
virtual void SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > &, const std::vector< MPSolver::BasisStatus > &)

Additional Inherited Members

Public Types inherited from operations_research::MPSolverInterface
enum  SynchronizationStatus { MUST_RELOAD , MODEL_SYNCHRONIZED , SOLUTION_SYNCHRONIZED }
Static Public Attributes inherited from operations_research::MPSolverInterface
static constexpr int64_t kUnknownNumberOfIterations = -1
static constexpr int64_t kUnknownNumberOfNodes = -1
Protected Member Functions inherited from operations_research::MPSolverInterface
void ExtractModel ()
void ResetExtractionInformation ()
void InvalidateSolutionSynchronization ()
void SetCommonParameters (const MPSolverParameters &param)
void SetMIPParameters (const MPSolverParameters &param)
void SetUnsupportedDoubleParam (MPSolverParameters::DoubleParam param)
void SetDoubleParamToUnsupportedValue (MPSolverParameters::DoubleParam param, double value)
Protected Attributes inherited from operations_research::MPSolverInterface
MPSolver *const solver_
SynchronizationStatus sync_status_
MPSolver::ResultStatus result_status_
bool maximize_
int last_constraint_index_
int last_variable_index_
double objective_value_
double best_objective_bound_
bool quiet_
Static Protected Attributes inherited from operations_research::MPSolverInterface
static const int kDummyVariableIndex = 0
operations_research::SCIPInterface::SCIPInterface ( MPSolver * solver)
explicit

◆ ~SCIPInterface()

operations_research::SCIPInterface::~SCIPInterface ( )
override

◆ AddIndicatorConstraint()

bool operations_research::SCIPInterface::AddIndicatorConstraint ( MPConstraint * ct)
overridevirtual

◆ AddRowConstraint()

void operations_research::SCIPInterface::AddRowConstraint ( MPConstraint * ct)
overridevirtual

◆ AddVariable()

void operations_research::SCIPInterface::AddVariable ( MPVariable * var)
overridevirtual

◆ BranchingPriorityChangedForVariable()

void operations_research::SCIPInterface::BranchingPriorityChangedForVariable ( int var_index)
overridevirtual

◆ ClearConstraint()

void operations_research::SCIPInterface::ClearConstraint ( MPConstraint * constraint)
overridevirtual

◆ ClearObjective()

void operations_research::SCIPInterface::ClearObjective ( )
overridevirtual

◆ column_status()

MPSolver::BasisStatus operations_research::SCIPInterface::column_status ( int ) const
inlineoverridevirtual

◆ DirectlySolveProto()

◆ ExtractNewConstraints()

void operations_research::SCIPInterface::ExtractNewConstraints ( )
overridevirtual

◆ ExtractNewVariables()

void operations_research::SCIPInterface::ExtractNewVariables ( )
overridevirtual

◆ ExtractObjective()

void operations_research::SCIPInterface::ExtractObjective ( )
overridevirtual

◆ infinity()

double operations_research::SCIPInterface::infinity ( )
overridevirtual

◆ InterruptSolve()

bool operations_research::SCIPInterface::InterruptSolve ( )
inlineoverridevirtual

◆ IsContinuous()

bool operations_research::SCIPInterface::IsContinuous ( ) const
inlineoverridevirtual

◆ IsLP()

bool operations_research::SCIPInterface::IsLP ( ) const
inlineoverridevirtual

◆ IsMIP()

bool operations_research::SCIPInterface::IsMIP ( ) const
inlineoverridevirtual

◆ iterations()

int64_t operations_research::SCIPInterface::iterations ( ) const
overridevirtual

◆ NextSolution()

bool operations_research::SCIPInterface::NextSolution ( )
overridevirtual

◆ nodes()

int64_t operations_research::SCIPInterface::nodes ( ) const
overridevirtual

◆ Reset()

void operations_research::SCIPInterface::Reset ( )
overridevirtual

◆ row_status()

◆ SetCallback()

void operations_research::SCIPInterface::SetCallback ( MPCallback * mp_callback)
overridevirtual

◆ SetCoefficient()

void operations_research::SCIPInterface::SetCoefficient ( MPConstraint * constraint,
const MPVariable * variable,
double new_value,
double old_value )
overridevirtual

◆ SetConstraintBounds()

void operations_research::SCIPInterface::SetConstraintBounds ( int row_index,
double lb,
double ub )
overridevirtual

◆ SetObjectiveCoefficient()

void operations_research::SCIPInterface::SetObjectiveCoefficient ( const MPVariable * variable,
double coefficient )
overridevirtual

◆ SetObjectiveOffset()

void operations_research::SCIPInterface::SetObjectiveOffset ( double value)
overridevirtual

◆ SetOptimizationDirection()

void operations_research::SCIPInterface::SetOptimizationDirection ( bool maximize)
overridevirtual

◆ SetVariableBounds()

void operations_research::SCIPInterface::SetVariableBounds ( int var_index,
double lb,
double ub )
overridevirtual

◆ SetVariableInteger()

void operations_research::SCIPInterface::SetVariableInteger ( int var_index,
bool integer )
overridevirtual

◆ Solve()

◆ SolverVersion()

std::string operations_research::SCIPInterface::SolverVersion ( ) const
inlineoverridevirtual

◆ SupportsCallbacks()

bool operations_research::SCIPInterface::SupportsCallbacks ( ) const
inlineoverridevirtual

◆ SupportsDirectlySolveProto()

bool operations_research::SCIPInterface::SupportsDirectlySolveProto ( std::atomic< bool > * interrupt) const
overridevirtual

◆ underlying_solver()

void * operations_research::SCIPInterface::underlying_solver ( )
inlineoverridevirtual

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