OR-Tools  9.6
ScipConstraintHandlerContext

Detailed Description

Definition at line 84 of file scip_callback.h.

Public Member Functions

 ScipConstraintHandlerContext (SCIP *scip, SCIP_SOL *solution, bool is_pseudo_solution)
 
double VariableValue (const MPVariable *variable) const
 
int64_t CurrentNodeId () const
 
int64_t NumNodesProcessed () const
 
SCIP * scip () const
 
bool is_pseudo_solution () const
 

Constructor & Destructor Documentation

◆ ScipConstraintHandlerContext()

ScipConstraintHandlerContext ( SCIP *  scip,
SCIP_SOL *  solution,
bool  is_pseudo_solution 
)

Definition at line 76 of file scip_callback.cc.

Member Function Documentation

◆ CurrentNodeId()

int64_t CurrentNodeId ( ) const

Definition at line 91 of file scip_callback.cc.

◆ is_pseudo_solution()

bool is_pseudo_solution ( ) const
inline

Definition at line 103 of file scip_callback.h.

◆ NumNodesProcessed()

int64_t NumNodesProcessed ( ) const

Definition at line 87 of file scip_callback.cc.

◆ scip()

SCIP* scip ( ) const
inline

Definition at line 94 of file scip_callback.h.

◆ VariableValue()

double VariableValue ( const MPVariable variable) const

Definition at line 82 of file scip_callback.cc.


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