Scippy

UG

Ubiquity Generator framework

ScipParaObjProp Class Reference

#include <scipParaObjProp.h>

Inheritance diagram for ScipParaObjProp:

Public Member Functions

 ScipParaObjProp (UG::ParaComm *comm, ScipParaSolver *inSolver)
 
virtual ~ScipParaObjProp ()
 
SCIP_RETCODE applyBoundChanges (SCIP *scip, int &ntightened, int &ntightenedint, SCIP_RESULT *result)
 
virtual SCIP_DECL_PROPPRESOL (scip_presol)
 
virtual SCIP_DECL_PROPEXEC (scip_exec)
 
SCIP_RETCODE tryToTightenBound (SCIP *scip, SCIP_BOUNDTYPE boundType, SCIP_VAR *var, SCIP_Real bound, SCIP_Result *result, int &ntightened, int &ntightenedint)
 
void addBoundChange (SCIP *scip, SCIP_BOUNDTYPE boundType, int index, SCIP_Real bound)
 
int getNtightened ()
 
int getNtightenedInt ()
 

Private Attributes

std::list< BoundChange * > boundChanges
 
ScipParaSolversolver
 
int ntotaltightened
 
int ntotaltightenedint
 

Detailed Description

Definition at line 58 of file scipParaObjProp.h.

Constructor & Destructor Documentation

◆ ScipParaObjProp()

ScipParaObjProp ( UG::ParaComm comm,
ScipParaSolver inSolver 
)

default constructor

Definition at line 67 of file scipParaObjProp.h.

◆ ~ScipParaObjProp()

virtual ~ScipParaObjProp ( )
virtual

destructor

Definition at line 87 of file scipParaObjProp.h.

References ScipParaObjProp::boundChanges.

Member Function Documentation

◆ addBoundChange()

void addBoundChange ( SCIP *  scip,
SCIP_BOUNDTYPE  boundType,
int  index,
SCIP_Real  bound 
)

◆ applyBoundChanges()

SCIP_RETCODE applyBoundChanges ( SCIP *  scip,
int &  ntightened,
int &  ntightenedint,
SCIP_RESULT *  result 
)

◆ getNtightened()

int getNtightened ( )

Definition at line 274 of file scipParaObjProp.h.

References ScipParaObjProp::ntotaltightened.

Referenced by ScipParaSolver::getNTightened().

◆ getNtightenedInt()

int getNtightenedInt ( )

Definition at line 275 of file scipParaObjProp.h.

References ScipParaObjProp::ntotaltightenedint.

Referenced by ScipParaSolver::getNTightenedInt().

◆ SCIP_DECL_PROPEXEC()

virtual SCIP_DECL_PROPEXEC ( scip_exec  )
virtual

◆ SCIP_DECL_PROPPRESOL()

virtual SCIP_DECL_PROPPRESOL ( scip_presol  )
virtual

◆ tryToTightenBound()

SCIP_RETCODE tryToTightenBound ( SCIP *  scip,
SCIP_BOUNDTYPE  boundType,
SCIP_VAR *  var,
SCIP_Real  bound,
SCIP_Result *  result,
int &  ntightened,
int &  ntightenedint 
)

Definition at line 231 of file scipParaObjProp.h.

Referenced by ScipParaObjProp::applyBoundChanges().

Member Data Documentation

◆ boundChanges

◆ ntotaltightened

◆ ntotaltightenedint

◆ solver