#include <scipParaInitialStat.h>
Public Member Functions | |
ScipParaInitialStat () | |
ScipParaInitialStat (SCIP *scip) | |
virtual | ~ScipParaInitialStat () |
ParaInitialStat * | clone (UG::ParaComm *comm) |
void | accumulateOn (SCIP *scip) |
int | getMaxDepth () |
const std::string | toString () |
Public Member Functions inherited from ParaInitialStat | |
ParaInitialStat () | |
DO NOT HAVE DATA MEMBER!! More... | |
virtual | ~ParaInitialStat () |
destructor More... | |
virtual ParaInitialStat * | clone (ParaComm *comm)=0 |
create clone of this object More... | |
virtual void | send (ParaComm *comm, int dest)=0 |
send function for ParaInitialStat object More... | |
virtual void | receive (ParaComm *comm, int source)=0 |
receive function for ParaInitialStat object More... | |
virtual const std::string | toString ()=0 |
stringfy ParaInitialStat object (for debugging) More... | |
Protected Attributes | |
int | maxDepth |
int | maxTotalDepth |
int | nVarBranchStatsDown |
int | nVarBranchStatsUp |
int * | idxLBranchStatsVarsDown |
int * | nVarBranchingDown |
int * | idxLBranchStatsVarsUp |
int * | nVarBranchingUp |
SCIP_Real * | downpscost |
SCIP_Real * | downvsids |
SCIP_Real * | downconflen |
SCIP_Real * | downinfer |
SCIP_Real * | downcutoff |
SCIP_Real * | uppscost |
SCIP_Real * | upvsids |
SCIP_Real * | upconflen |
SCIP_Real * | upinfer |
SCIP_Real * | upcutoff |
The initial statistic collecting data class: this is base class
Definition at line 49 of file scipParaInitialStat.h.
default constructor
Definition at line 75 of file scipParaInitialStat.h.
ScipParaInitialStat | ( | SCIP * | scip | ) |
constructor to create this object
count downward vars and upward vars
allocate memory
Definition at line 98 of file scipParaInitialStat.cpp.
References ScipParaInitialStat::downconflen, ScipParaInitialStat::downcutoff, ScipParaInitialStat::downinfer, ScipParaInitialStat::downpscost, ScipParaInitialStat::downvsids, ScipParaInitialStat::idxLBranchStatsVarsDown, ScipParaInitialStat::idxLBranchStatsVarsUp, ScipParaInitialStat::maxDepth, ScipParaInitialStat::maxTotalDepth, ScipParaInitialStat::nVarBranchingDown, ScipParaInitialStat::nVarBranchingUp, ScipParaInitialStat::nVarBranchStatsDown, ScipParaInitialStat::nVarBranchStatsUp, ScipParaInitialStat::upconflen, ScipParaInitialStat::upcutoff, ScipParaInitialStat::upinfer, ScipParaInitialStat::uppscost, and ScipParaInitialStat::upvsids.
|
virtual |
destractor
Definition at line 102 of file scipParaInitialStat.h.
References ScipParaInitialStat::downconflen, ScipParaInitialStat::downcutoff, ScipParaInitialStat::downinfer, ScipParaInitialStat::downpscost, ScipParaInitialStat::downvsids, ScipParaInitialStat::idxLBranchStatsVarsDown, ScipParaInitialStat::idxLBranchStatsVarsUp, ScipParaInitialStat::nVarBranchingDown, ScipParaInitialStat::nVarBranchingUp, ScipParaInitialStat::upconflen, ScipParaInitialStat::upcutoff, ScipParaInitialStat::upinfer, ScipParaInitialStat::uppscost, and ScipParaInitialStat::upvsids.
void accumulateOn | ( | SCIP * | scip | ) |
accumulate initial statistics into target scip environment
Definition at line 246 of file scipParaInitialStat.cpp.
References ScipParaInitialStat::downconflen, ScipParaInitialStat::downcutoff, ScipParaInitialStat::downinfer, ScipParaInitialStat::downpscost, ScipParaInitialStat::downvsids, ScipParaInitialStat::idxLBranchStatsVarsDown, ScipParaInitialStat::idxLBranchStatsVarsUp, ScipParaInitialStat::nVarBranchingDown, ScipParaInitialStat::nVarBranchingUp, ScipParaInitialStat::nVarBranchStatsDown, ScipParaInitialStat::nVarBranchStatsUp, ScipParaInitialStat::upconflen, ScipParaInitialStat::upcutoff, ScipParaInitialStat::upinfer, ScipParaInitialStat::uppscost, and ScipParaInitialStat::upvsids.
Referenced by ScipParaInitiator::accumulateInitialStat().
|
virtual |
create clone of this object
Implements ParaInitialStat.
Definition at line 47 of file scipParaInitialStat.cpp.
References comm, DEF_SCIP_PARA_COMM, ScipParaInitialStat::downconflen, ScipParaInitialStat::downcutoff, ScipParaInitialStat::downinfer, ScipParaInitialStat::downpscost, ScipParaInitialStat::downvsids, ScipParaInitialStat::idxLBranchStatsVarsDown, ScipParaInitialStat::idxLBranchStatsVarsUp, ScipParaInitialStat::maxDepth, ScipParaInitialStat::maxTotalDepth, ScipParaInitialStat::nVarBranchingDown, ScipParaInitialStat::nVarBranchingUp, ScipParaInitialStat::nVarBranchStatsDown, ScipParaInitialStat::nVarBranchStatsUp, ScipParaInitialStat::upconflen, ScipParaInitialStat::upcutoff, ScipParaInitialStat::upinfer, ScipParaInitialStat::uppscost, and ScipParaInitialStat::upvsids.
Referenced by ScipParaInitialStatTh::createDatatype().
int getMaxDepth | ( | ) |
get maximum depth
Definition at line 127 of file scipParaInitialStat.h.
References ScipParaInitialStat::maxDepth.
Referenced by ScipParaLoadCoordinator::processTagInitialStat().
|
virtual |
stringfy subproblem ( for debugging )
Implements ParaInitialStat.
Definition at line 130 of file scipParaInitialStat.h.
|
protected |
values to which conflict length score for downwards branching
Definition at line 65 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which cutoff counter for downwards branching
Definition at line 67 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which inference counter for downwards branching
Definition at line 66 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which pseudocosts for downwards branching
Definition at line 63 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which VSIDS score for downwards branching
Definition at line 64 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
indices of branch stats vars downward
Definition at line 59 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatMpi::receive(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), ScipParaInitialStatMpi::send(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
indices of branch stats vars upward
Definition at line 61 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatMpi::receive(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), ScipParaInitialStatMpi::send(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
maximal depth of all processed nodes in current branch and bound run (excluding probing nodes)
Definition at line 52 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype1(), ScipParaInitialStat::getMaxDepth(), ScipParaInitialStatMpi::receive(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStatMpi::send().
|
protected |
maximal depth of all processed nodes over all branch and bound runs
Definition at line 53 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype1(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), and ScipParaInitialStatTh::ScipParaInitialStatTh().
|
protected |
number of branchings of this var to downward
Definition at line 60 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
number of branchings of this var to upward
Definition at line 62 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
number of branch stats downward
Definition at line 57 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype1(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatMpi::receive(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStatMpi::send().
|
protected |
number of branch stats upward
Definition at line 58 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype1(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatMpi::receive(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStatMpi::send().
|
protected |
values to which conflict length score for upwards branching
Definition at line 70 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which cutoff counter for upwards branching
Definition at line 72 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which inference counter for upwards branching
Definition at line 71 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which pseudocosts for upwards branching
Definition at line 68 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().
|
protected |
values to which VSIDS score for upwards branching
Definition at line 69 of file scipParaInitialStat.h.
Referenced by ScipParaInitialStat::accumulateOn(), ScipParaInitialStat::clone(), ScipParaInitialStatMpi::createDatatype2(), ScipParaInitialStatTh::receive(), ScipParaInitialStat::ScipParaInitialStat(), ScipParaInitialStatMpi::ScipParaInitialStatMpi(), ScipParaInitialStatTh::ScipParaInitialStatTh(), and ScipParaInitialStat::~ScipParaInitialStat().