Class for the difference between instance and subproblem. More...
#include <bbParaDiffSubproblem.h>
Public Member Functions | |
BbParaDiffSubproblem () | |
DO NOT HAVE DATA MEMBER!! More... | |
virtual | ~BbParaDiffSubproblem () |
destractor¥ More... | |
virtual void | read (ParaComm *comm, gzstream::igzstream &in, bool onlyBoundChanges)=0 |
function to read BbParaDiffSubproblem object from checkpoint file More... | |
virtual int | getNBoundChanges ()=0 |
get the number of bound changes More... | |
virtual int | getFixedVariables (ParaInstance *instance, BbParaFixedVariable **fixedVars)=0 |
get the number of fixed variables More... | |
virtual BbParaDiffSubproblem * | createDiffSubproblem (ParaComm *comm, ParaInitiator *initiator, int n, BbParaFixedVariable *fixedVars)=0 |
create new BbParaDiffSubproblem object using fixed variables information More... | |
virtual const std::string | toStringStat () |
stringfy statistics of BbParaDiffSubproblem object More... | |
virtual void | setWinnerParams (BbParaRacingRampUpParamSet *winerParams) |
set winner racing parameters at warm start racing More... | |
virtual BbParaRacingRampUpParamSet * | getWinnerParams () |
get winner racing parameters at warm start racing More... | |
Public Member Functions inherited from ParaDiffSubproblem | |
ParaDiffSubproblem () | |
DO NOT HAVE DATA MEMBER!! More... | |
virtual | ~ParaDiffSubproblem () |
destractor¥ More... | |
virtual ParaDiffSubproblem * | clone (ParaComm *comm)=0 |
create clone of this object More... | |
virtual int | bcast (ParaComm *comm, int root)=0 |
broadcast function for ParaDiffSubproblem object More... | |
virtual int | send (ParaComm *comm, int dest)=0 |
send function for ParaDiffSubproblem object More... | |
virtual int | receive (ParaComm *comm, int source)=0 |
receive function for ParaDiffSubproblem object More... | |
virtual void | write (gzstream::ogzstream &out)=0 |
function to write ParaDiffSubproblem object to checkpoint file More... | |
virtual const std::string | toString ()=0 |
stringfy ParaDiffSubproblem object ( for debugging ) More... | |
Class for the difference between instance and subproblem.
This class should NOT have any data member.
Definition at line 67 of file bbParaDiffSubproblem.h.
|
virtual |
destractor¥
Definition at line 87 of file bbParaDiffSubproblem.h.
|
pure virtual |
create new BbParaDiffSubproblem object using fixed variables information
comm | communicator used |
initiator | point to ParaInitiator object |
n | the number of fixed variables |
fixedVars | array of the fixed variables |
Implemented in ScipParaDiffSubproblem.
Referenced by BbParaNodesMerger::generateMergeNodesCandidates().
|
pure virtual |
get the number of fixed variables
instance | pointer to instance object |
fixedVars | array of fixed variables |
Implemented in ScipParaDiffSubproblem.
|
pure virtual |
get the number of bound changes
Implemented in ScipParaDiffSubproblem.
Referenced by BbParaNodeSortCriterion::operator()(), and BbParaNodeSortCriterionForCleanUp::operator()().
|
virtual |
get winner racing parameters at warm start racing
Definition at line 157 of file bbParaDiffSubproblem.h.
|
pure virtual |
function to read BbParaDiffSubproblem object from checkpoint file
comm | communicator used |
in | gzstream for input |
onlyBoundChanges | indicate if only bound changes are output or not |
Implemented in ScipParaDiffSubproblem.
|
virtual |
set winner racing parameters at warm start racing
winerParams | pointer to winner racing ramp-up parameters |
Definition at line 146 of file bbParaDiffSubproblem.h.
|
virtual |
stringfy statistics of BbParaDiffSubproblem object
Reimplemented in ScipParaDiffSubproblem.
Definition at line 136 of file bbParaDiffSubproblem.h.