#include <scipParaObjProp.h>
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 |
ScipParaSolver * | solver |
int | ntotaltightened |
int | ntotaltightenedint |
Definition at line 58 of file scipParaObjProp.h.
ScipParaObjProp | ( | UG::ParaComm * | comm, |
ScipParaSolver * | inSolver | ||
) |
default constructor
Definition at line 67 of file scipParaObjProp.h.
|
virtual |
destructor
Definition at line 87 of file scipParaObjProp.h.
References ScipParaObjProp::boundChanges.
void addBoundChange | ( | SCIP * | scip, |
SCIP_BOUNDTYPE | boundType, | ||
int | index, | ||
SCIP_Real | bound | ||
) |
Definition at line 264 of file scipParaObjProp.h.
References BoundChange::bound, ScipParaObjProp::boundChanges, BoundChange::boundType, and BoundChange::index.
Referenced by ScipParaSolver::lbBoundTightened(), and ScipParaSolver::ubBoundTightened().
SCIP_RETCODE applyBoundChanges | ( | SCIP * | scip, |
int & | ntightened, | ||
int & | ntightenedint, | ||
SCIP_RESULT * | result | ||
) |
execution method of propagator
Definition at line 100 of file scipParaObjProp.h.
References BoundChange::bound, ScipParaObjProp::boundChanges, BoundChange::boundType, BoundChange::index, and ScipParaObjProp::tryToTightenBound().
Referenced by ScipParaObjProp::SCIP_DECL_PROPEXEC(), and ScipParaObjProp::SCIP_DECL_PROPPRESOL().
int getNtightened | ( | ) |
Definition at line 274 of file scipParaObjProp.h.
References ScipParaObjProp::ntotaltightened.
Referenced by ScipParaSolver::getNTightened().
int getNtightenedInt | ( | ) |
Definition at line 275 of file scipParaObjProp.h.
References ScipParaObjProp::ntotaltightenedint.
Referenced by ScipParaSolver::getNTightenedInt().
|
virtual |
execution method of propagator
Definition at line 201 of file scipParaObjProp.h.
References ScipParaObjProp::applyBoundChanges(), BbParaSolver::getPendingIncumbentValue(), ScipParaObjProp::ntotaltightened, ScipParaObjProp::ntotaltightenedint, and ScipParaObjProp::solver.
|
virtual |
presolving method of propagator
Definition at line 169 of file scipParaObjProp.h.
References ScipParaObjProp::applyBoundChanges(), ScipParaObjProp::boundChanges, BbParaSolver::getPendingIncumbentValue(), ScipParaObjProp::ntotaltightened, ScipParaObjProp::ntotaltightenedint, and ScipParaObjProp::solver.
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().
|
private |
Definition at line 61 of file scipParaObjProp.h.
Referenced by ScipParaObjProp::addBoundChange(), ScipParaObjProp::applyBoundChanges(), ScipParaObjProp::SCIP_DECL_PROPPRESOL(), and ScipParaObjProp::~ScipParaObjProp().
|
private |
Definition at line 63 of file scipParaObjProp.h.
Referenced by ScipParaObjProp::getNtightened(), ScipParaObjProp::SCIP_DECL_PROPEXEC(), and ScipParaObjProp::SCIP_DECL_PROPPRESOL().
|
private |
Definition at line 64 of file scipParaObjProp.h.
Referenced by ScipParaObjProp::getNtightenedInt(), ScipParaObjProp::SCIP_DECL_PROPEXEC(), and ScipParaObjProp::SCIP_DECL_PROPPRESOL().
|
private |
Definition at line 62 of file scipParaObjProp.h.
Referenced by ScipParaObjProp::SCIP_DECL_PROPEXEC(), and ScipParaObjProp::SCIP_DECL_PROPPRESOL().