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

Detailed Description

Definition at line 176 of file gscip_constraint_handler.h.

#include <gscip_constraint_handler.h>

Public Member Functions

 GScipConstraintHandlerContext (GScip *gscip, const GScipCallbackStats *stats, SCIP_CONSHDLR *current_handler, SCIP_SOL *current_solution)
GScipgscip ()
double VariableValue (SCIP_VAR *variable) const
absl::StatusOr< GScipCallbackResultAddCut (const GScipLinearRange &range, const std::string &name, const GScipCutOptions &options=GScipCutOptions())
absl::Status AddLazyLinearConstraint (const GScipLinearRange &range, const std::string &name, const GScipLazyConstraintOptions &options=GScipLazyConstraintOptions())
absl::Status SetLocalVarLb (SCIP_VAR *var, double value)
absl::Status SetLocalVarUb (SCIP_VAR *var, double value)
absl::Status SetGlobalVarLb (SCIP_VAR *var, double value)
absl::Status SetGlobalVarUb (SCIP_VAR *var, double value)
double LocalVarLb (SCIP_VAR *var) const
double LocalVarUb (SCIP_VAR *var) const
double GlobalVarLb (SCIP_VAR *var) const
double GlobalVarUb (SCIP_VAR *var) const
const GScipCallbackStatsstats () const

Constructor & Destructor Documentation

◆ GScipConstraintHandlerContext()

operations_research::GScipConstraintHandlerContext::GScipConstraintHandlerContext ( GScip * gscip,
const GScipCallbackStats * stats,
SCIP_CONSHDLR * current_handler,
SCIP_SOL * current_solution )
inline

Definition at line 180 of file gscip_constraint_handler.h.

Member Function Documentation

◆ AddCut()

absl::StatusOr< GScipCallbackResult > operations_research::GScipConstraintHandlerContext::AddCut ( const GScipLinearRange & range,
const std::string & name,
const GScipCutOptions & options = GScipCutOptions() )

Definition at line 311 of file gscip_constraint_handler.cc.

◆ AddLazyLinearConstraint()

absl::Status operations_research::GScipConstraintHandlerContext::AddLazyLinearConstraint ( const GScipLinearRange & range,
const std::string & name,
const GScipLazyConstraintOptions & options = GScipLazyConstraintOptions() )

Definition at line 336 of file gscip_constraint_handler.cc.

◆ GlobalVarLb()

double operations_research::GScipConstraintHandlerContext::GlobalVarLb ( SCIP_VAR * var) const

Definition at line 352 of file gscip_constraint_handler.cc.

◆ GlobalVarUb()

double operations_research::GScipConstraintHandlerContext::GlobalVarUb ( SCIP_VAR * var) const

Definition at line 355 of file gscip_constraint_handler.cc.

◆ gscip()

GScip * operations_research::GScipConstraintHandlerContext::gscip ( )
inline

Definition at line 188 of file gscip_constraint_handler.h.

◆ LocalVarLb()

double operations_research::GScipConstraintHandlerContext::LocalVarLb ( SCIP_VAR * var) const

Definition at line 346 of file gscip_constraint_handler.cc.

◆ LocalVarUb()

double operations_research::GScipConstraintHandlerContext::LocalVarUb ( SCIP_VAR * var) const

Definition at line 349 of file gscip_constraint_handler.cc.

◆ SetGlobalVarLb()

absl::Status operations_research::GScipConstraintHandlerContext::SetGlobalVarLb ( SCIP_VAR * var,
double value )

Definition at line 369 of file gscip_constraint_handler.cc.

◆ SetGlobalVarUb()

absl::Status operations_research::GScipConstraintHandlerContext::SetGlobalVarUb ( SCIP_VAR * var,
double value )

Definition at line 373 of file gscip_constraint_handler.cc.

◆ SetLocalVarLb()

absl::Status operations_research::GScipConstraintHandlerContext::SetLocalVarLb ( SCIP_VAR * var,
double value )

Definition at line 359 of file gscip_constraint_handler.cc.

◆ SetLocalVarUb()

absl::Status operations_research::GScipConstraintHandlerContext::SetLocalVarUb ( SCIP_VAR * var,
double value )

Definition at line 364 of file gscip_constraint_handler.cc.

◆ stats()

const GScipCallbackStats & operations_research::GScipConstraintHandlerContext::stats ( ) const
inline

Definition at line 231 of file gscip_constraint_handler.h.

◆ VariableValue()

double operations_research::GScipConstraintHandlerContext::VariableValue ( SCIP_VAR * variable) const

Definition at line 307 of file gscip_constraint_handler.cc.


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