#include <scipParaDiffSubproblemMpi.h>
Public Member Functions | |
ScipParaDiffSubproblemMpi () | |
ScipParaDiffSubproblemMpi (SCIP *inScip, ScipParaSolver *inScipParaSolver, int inNNewBranchVars, SCIP_VAR **inNewBranchVars, SCIP_Real *inNewBranchBounds, SCIP_BOUNDTYPE *inNewBoundTypes, int nAddedConss, SCIP_CONS **addedConss) | |
ScipParaDiffSubproblemMpi (ScipParaDiffSubproblem *paraDiffSubproblem) | |
~ScipParaDiffSubproblemMpi () | |
ScipParaDiffSubproblemMpi * | clone (UG::ParaComm *comm) |
int | bcast (UG::ParaComm *comm, int root) |
int | send (UG::ParaComm *comm, int dest) |
int | receive (UG::ParaComm *comm, int source) |
Public Member Functions inherited from ScipParaDiffSubproblem | |
ScipParaDiffSubproblem () | |
ScipParaDiffSubproblem (SCIP *scip, ScipParaSolver *scipParaSolver, int nNewBranchVars, SCIP_VAR **newBranchVars, SCIP_Real *newBranchBounds, SCIP_BOUNDTYPE *newBoundTypes, int nAddedConss, SCIP_CONS **addedConss) | |
ScipParaDiffSubproblem (ScipParaDiffSubproblem *diffSubproblem) | |
virtual | ~ScipParaDiffSubproblem () |
int | getNBoundChanges () |
int | getIndex (int i) |
SCIP_Real | getBranchBound (int i) |
SCIP_BOUNDTYPE | getBoundType (int i) |
ScipParaDiffSubproblemBranchLinearCons * | getBranchLinearConss () |
ScipParaDiffSubproblemBranchSetppcCons * | getBranchSetppcConss () |
int | getNBranchConsLinearConss () |
SCIP_Real | getBranchConsLinearLhs (int i) |
SCIP_Real | getBranchConsLinearRhs (int i) |
int | getBranchConsNLinearCoefs (int i) |
SCIP_Real | getBranchConsLinearCoefs (int i, int j) |
int | getBranchConsLinearIdxCoefsVars (int i, int j) |
int | getBranchConsLinearConsNames () |
char * | getBranchConsLinearConsNames (int i) |
int | getNBranchConsSetppcConss () |
int | getBranchConsSetppcNVars (int i) |
int | getBranchConsSetppcType (int i) |
int | getBranchConsSetppcVars (int i, int j) |
int | getBranchConsSetppcConsNames () |
char * | getBranchConsSetppcConsNames (int i) |
int | getNLinearConss () |
SCIP_Real | getLinearLhs (int i) |
SCIP_Real | getLinearRhs (int i) |
int | getNLinearCoefs (int i) |
SCIP_Real | getLinearCoefs (int i, int j) |
int | getIdxLinearCoefsVars (int i, int j) |
int | getNBendersLinearConss () |
SCIP_Real | getBendersLinearLhs (int i) |
SCIP_Real | getBendersLinearRhs (int i) |
int | getNBendersLinearCoefs (int i) |
SCIP_Real | getBendersLinearCoefs (int i, int j) |
int | getIdxBendersLinearCoefsVars (int i, int j) |
int | getNBoundDisjunctions () |
int | getNTotalVarsBoundDisjunctions () |
int | getNVarsBoundDisjunction (int i) |
SCIP_Bool | getFlagBoundDisjunctionInitial (int i) |
SCIP_Bool | getFlagBoundDisjunctionSeparate (int i) |
SCIP_Bool | getFlagBoundDisjunctionEnforce (int i) |
SCIP_Bool | getFlagBoundDisjunctionCheck (int i) |
SCIP_Bool | getFlagBoundDisjunctionPropagate (int i) |
SCIP_Bool | getFlagBoundDisjunctionLocal (int i) |
SCIP_Bool | getFlagBoundDisjunctionModifiable (int i) |
SCIP_Bool | getFlagBoundDisjunctionDynamic (int i) |
SCIP_Bool | getFlagBoundDisjunctionRemovable (int i) |
SCIP_Bool | getFlagBoundDisjunctionStickingatnode (int i) |
int | getIdxBoundDisjunctionVars (int i, int j) |
SCIP_BOUNDTYPE | getBoundTypesBoundDisjunction (int i, int j) |
SCIP_Real | getBoundsBoundDisjunction (int i, int j) |
int | getNVarBranchStats () |
int | getIdxLBranchStatsVars (int i) |
SCIP_Real | getDownpscost (int i) |
SCIP_Real | getUppscost (int i) |
SCIP_Real | getDownvsids (int i) |
SCIP_Real | getUpvsids (int i) |
SCIP_Real | getDownconflen (int i) |
SCIP_Real | getUpconflen (int i) |
SCIP_Real | getDowninfer (int i) |
SCIP_Real | getUpinfer (int i) |
SCIP_Real | getDowncutoff (int i) |
SCIP_Real | getUpcutoff (int i) |
int | getNVarValueVars () |
int | getNVarValues () |
int | getIdxVarValueVars (int i) |
int | getNVarValueValues (int i) |
SCIP_Real | getVarValue (int i, int j) |
SCIP_Real | getVarValueDownvsids (int i, int j) |
SCIP_Real | getVarVlaueUpvsids (int i, int j) |
SCIP_Real | getVarValueDownconflen (int i, int j) |
SCIP_Real | getVarValueUpconflen (int i, int j) |
SCIP_Real | getVarValueDowninfer (int i, int j) |
SCIP_Real | getVarValueUpinfer (int i, int j) |
SCIP_Real | getVarValueDowncutoff (int i, int j) |
SCIP_Real | getVarValueUpcutoff (int i, int j) |
void | addBranchLinearConss (SCIP *scip, ScipParaSolver *scipParaSolver, int nLenarConss, int nAddedConss, SCIP_CONS **addedConss) |
void | addBranchSetppcConss (SCIP *scip, ScipParaSolver *scipParaSolver, int nSetpartConss, int nAddedConss, SCIP_CONS **addedConss) |
void | addLocalNodeInfo (SCIP *scip, ScipParaSolver *scipParaSolver) |
void | addBoundDisjunctions (SCIP *scip, ScipParaSolver *scipParaSolver) |
void | addBranchVarStats (SCIP *scip, ScipParaSolver *scipParaSolver) |
void | addVarValueStats (SCIP *scip, ScipParaSolver *scipParaSolver) |
void | addInitialBranchVarStats (int minDepth, int maxDepth, SCIP *scip) |
int | getOffset () |
void | write (gzstream::ogzstream &out) |
void | read (UG::ParaComm *comm, gzstream::igzstream &in, bool onlyBoundChanges) |
int | getFixedVariables (UG::ParaInstance *instance, UG::BbParaFixedVariable **fixedVars) |
BbParaDiffSubproblem * | createDiffSubproblem (UG::ParaComm *comm, UG::ParaInitiator *initiator, int n, UG::BbParaFixedVariable *fixedVars) |
const std::string | toString () |
const std::string | toStringStat () |
Public Member Functions inherited from BbParaDiffSubproblem | |
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... | |
Private Member Functions | |
MPI_Datatype | createDatatypeCounters () |
MPI_Datatype | createDatatypeBoundChnages (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBranchLinearConss1 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBranchLinearConss2 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBranchSetppcConss1 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBranchSetppcConss2 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeLinearConss1 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeLinearConss2 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBendersLinearConss1 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBendersLinearConss2 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBoundDisjunctions1 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeBoundDisjunctions2 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeVarBranchStats (bool memAllocNecessary) |
MPI_Datatype | createDatatypeVarValueVars1 (bool memAllocNecessary) |
MPI_Datatype | createDatatypeVarValueVars2 (bool memAllocNecessary) |
Private Attributes | |
int | nBranchLinearConss |
int | nBranchSetppcConss |
int | nLinearConss |
int | nBendersLinearConss |
int | nBoundDisjunctions |
int | nVarBranchStats |
int | nVarValueVars |
Additional Inherited Members | |
Protected Attributes inherited from ScipParaDiffSubproblem | |
int | localInfoIncluded |
int | nBoundChanges |
int * | indicesAmongSolvers |
SCIP_Real * | branchBounds |
SCIP_BOUNDTYPE * | boundTypes |
ScipParaDiffSubproblemBranchLinearCons * | branchLinearConss |
ScipParaDiffSubproblemBranchSetppcCons * | branchSetppcConss |
ScipParaDiffSubproblemLinearCons * | linearConss |
ScipParaDiffSubproblemLinearCons * | bendersLinearConss |
ScipParaDiffSubproblemBoundDisjunctions * | boundDisjunctions |
ScipParaDiffSubproblemVarBranchStats * | varBranchStats |
ScipParaDiffSubproblemVarValues * | varValues |
The difference between instance and subproblem: this is base class
Definition at line 48 of file scipParaDiffSubproblemMpi.h.
default constructor
Definition at line 94 of file scipParaDiffSubproblemMpi.h.
References ScipParaDiffSubproblem::localInfoIncluded, ScipParaDiffSubproblem::nBoundChanges, and ScipParaDiffSubproblemMpi::nLinearConss.
Referenced by ScipParaDiffSubproblemMpi::clone().
ScipParaDiffSubproblemMpi | ( | SCIP * | inScip, |
ScipParaSolver * | inScipParaSolver, | ||
int | inNNewBranchVars, | ||
SCIP_VAR ** | inNewBranchVars, | ||
SCIP_Real * | inNewBranchBounds, | ||
SCIP_BOUNDTYPE * | inNewBoundTypes, | ||
int | nAddedConss, | ||
SCIP_CONS ** | addedConss | ||
) |
Constructor
Definition at line 100 of file scipParaDiffSubproblemMpi.h.
ScipParaDiffSubproblemMpi | ( | ScipParaDiffSubproblem * | paraDiffSubproblem | ) |
Constructor
Definition at line 115 of file scipParaDiffSubproblemMpi.h.
destractor
Definition at line 123 of file scipParaDiffSubproblemMpi.h.
|
virtual |
Implements ParaDiffSubproblem.
Definition at line 1354 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::bendersLinearConss, ScipParaDiffSubproblem::boundDisjunctions, ScipParaDiffSubproblem::branchLinearConss, ScipParaDiffSubproblem::branchSetppcConss, comm, ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeBoundChnages(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions1(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions2(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeVarBranchStats(), ScipParaDiffSubproblemMpi::createDatatypeVarValueVars1(), DEF_PARA_COMM, ParaCommCPP11::getRank(), ScipParaDiffSubproblemBoundDisjunctions::idxBoundDisjunctionVars, ScipParaDiffSubproblemBranchSetppcCons::idxSetppcVars, ScipParaDiffSubproblem::indicesAmongSolvers, ScipParaDiffSubproblemBranchLinearCons::linearCoefs, ScipParaDiffSubproblemLinearCons::linearCoefs, ScipParaDiffSubproblem::linearConss, ScipParaDiffSubproblemBranchLinearCons::linearLhss, ScipParaDiffSubproblemLinearCons::linearLhss, ScipParaDiffSubproblem::localInfoIncluded, MPI_CALL, ScipParaDiffSubproblemMpi::nBendersLinearConss, ScipParaDiffSubproblem::nBoundChanges, ScipParaDiffSubproblemBoundDisjunctions::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBranchLinearConss, ScipParaDiffSubproblemMpi::nBranchSetppcConss, ScipParaDiffSubproblemBranchLinearCons::nLinearConss, ScipParaDiffSubproblemLinearCons::nLinearConss, ScipParaDiffSubproblemMpi::nLinearConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcVars, ScipParaDiffSubproblemBoundDisjunctions::nTotalVarsBoundDisjunctions, ScipParaDiffSubproblemVarBranchStats::nVarBranchStats, ScipParaDiffSubproblemMpi::nVarBranchStats, ScipParaDiffSubproblemVarValues::nVarValues, ScipParaDiffSubproblemVarValues::nVarValueVars, ScipParaDiffSubproblemMpi::nVarValueVars, ScipParaDiffSubproblemVarBranchStats::offset, PARA_COMM_CALL, ScipParaDiffSubproblem::varBranchStats, and ScipParaDiffSubproblem::varValues.
|
virtual |
create clone of this object
Implements ParaDiffSubproblem.
Definition at line 2191 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblemMpi::ScipParaDiffSubproblemMpi().
|
private |
create scipDiffSubproblem datatypeBendersLinearConss1
create ScipDiffSubproblemDatatype
Definition at line 634 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::bendersLinearConss, ScipParaDiffSubproblemLinearCons::linearLhss, ScipParaDiffSubproblemLinearCons::linearRhss, MPI_CALL, ScipParaDiffSubproblemMpi::nBendersLinearConss, ScipParaDiffSubproblemLinearCons::nLinearCoefs, and ScipParaDiffSubproblemLinearCons::nLinearConss.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBendersLinearConss2
create ScipDiffSubproblemDatatype
Definition at line 692 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::bendersLinearConss, ScipParaDiffSubproblemLinearCons::idxLinearCoefsVars, ScipParaDiffSubproblemLinearCons::linearCoefs, MPI_CALL, ScipParaDiffSubproblemMpi::nBendersLinearConss, and ScipParaDiffSubproblemLinearCons::nLinearCoefs.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBoundChnages
create ScipDiffSubproblemDatatype
Definition at line 165 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::boundTypes, ScipParaDiffSubproblem::branchBounds, ScipParaDiffSubproblem::indicesAmongSolvers, MPI_CALL, and ScipParaDiffSubproblem::nBoundChanges.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBoundDisjunctions1
create ScipDiffSubproblemDatatype
Definition at line 767 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::boundDisjunctions, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionCheck, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionDynamic, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionEnforce, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionInitial, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionLocal, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionModifiable, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionPropagate, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionRemovable, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionSeparate, ScipParaDiffSubproblemBoundDisjunctions::flagBoundDisjunctionStickingatnode, MPI_CALL, ScipParaDiffSubproblemBoundDisjunctions::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBoundDisjunctions, ScipParaDiffSubproblemBoundDisjunctions::nTotalVarsBoundDisjunctions, and ScipParaDiffSubproblemBoundDisjunctions::nVarsBoundDisjunction.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBoundDisjunctions2
create ScipDiffSubproblemDatatype
Definition at line 907 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::boundDisjunctions, ScipParaDiffSubproblemBoundDisjunctions::boundsBoundDisjunction, ScipParaDiffSubproblemBoundDisjunctions::boundTypesBoundDisjunction, ScipParaDiffSubproblemBoundDisjunctions::idxBoundDisjunctionVars, MPI_CALL, ScipParaDiffSubproblemMpi::nBoundDisjunctions, and ScipParaDiffSubproblemBoundDisjunctions::nVarsBoundDisjunction.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBranchLinearConss1
create ScipDiffSubproblemDatatype
Definition at line 223 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::branchLinearConss, ScipParaDiffSubproblemBranchLinearCons::lConsNames, ScipParaDiffSubproblemBranchLinearCons::linearLhss, ScipParaDiffSubproblemBranchLinearCons::linearRhss, MPI_CALL, ScipParaDiffSubproblemMpi::nBranchLinearConss, ScipParaDiffSubproblemBranchLinearCons::nLinearCoefs, and ScipParaDiffSubproblemBranchLinearCons::nLinearConss.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBranchLinearConss2
create ScipDiffSubproblemDatatype
Definition at line 289 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::branchLinearConss, ScipParaDiffSubproblemBranchLinearCons::consNames, ScipParaDiffSubproblemBranchLinearCons::idxLinearCoefsVars, ScipParaDiffSubproblemBranchLinearCons::lConsNames, ScipParaDiffSubproblemBranchLinearCons::linearCoefs, MPI_CALL, ScipParaDiffSubproblemMpi::nBranchLinearConss, and ScipParaDiffSubproblemBranchLinearCons::nLinearCoefs.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBranchSetppcConss1
create ScipDiffSubproblemDatatype
Definition at line 371 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::branchSetppcConss, ScipParaDiffSubproblemBranchSetppcCons::lConsNames, MPI_CALL, ScipParaDiffSubproblemMpi::nBranchSetppcConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcVars, and ScipParaDiffSubproblemBranchSetppcCons::setppcTypes.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeBranchSetppcConss2
create ScipDiffSubproblemDatatype
Definition at line 428 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::branchSetppcConss, ScipParaDiffSubproblemBranchSetppcCons::consNames, ScipParaDiffSubproblemBranchSetppcCons::idxSetppcVars, ScipParaDiffSubproblemBranchSetppcCons::lConsNames, MPI_CALL, ScipParaDiffSubproblemMpi::nBranchSetppcConss, and ScipParaDiffSubproblemBranchSetppcCons::nSetppcVars.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeCounters
create ScipDiffSubproblemDatatype1
Definition at line 50 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::localInfoIncluded, MPI_CALL, ScipParaDiffSubproblemMpi::nBendersLinearConss, ScipParaDiffSubproblem::nBoundChanges, ScipParaDiffSubproblemMpi::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBranchLinearConss, ScipParaDiffSubproblemMpi::nBranchSetppcConss, ScipParaDiffSubproblemMpi::nLinearConss, ScipParaDiffSubproblemMpi::nVarBranchStats, and ScipParaDiffSubproblemMpi::nVarValueVars.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeLinearConss1
create ScipDiffSubproblemDatatype
Definition at line 501 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::linearConss, ScipParaDiffSubproblemLinearCons::linearLhss, ScipParaDiffSubproblemLinearCons::linearRhss, MPI_CALL, ScipParaDiffSubproblemLinearCons::nLinearCoefs, ScipParaDiffSubproblemLinearCons::nLinearConss, and ScipParaDiffSubproblemMpi::nLinearConss.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeLinearConss2
create ScipDiffSubproblemDatatype
Definition at line 559 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblemLinearCons::idxLinearCoefsVars, ScipParaDiffSubproblemLinearCons::linearCoefs, ScipParaDiffSubproblem::linearConss, MPI_CALL, ScipParaDiffSubproblemLinearCons::nLinearCoefs, and ScipParaDiffSubproblemMpi::nLinearConss.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeVarBranchStats
create ScipDiffSubproblemDatatype
Definition at line 997 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblemVarBranchStats::downconflen, ScipParaDiffSubproblemVarBranchStats::downcutoff, ScipParaDiffSubproblemVarBranchStats::downinfer, ScipParaDiffSubproblemVarBranchStats::downpscost, ScipParaDiffSubproblemVarBranchStats::downvsids, ScipParaDiffSubproblemVarBranchStats::idxBranchStatsVars, MPI_CALL, ScipParaDiffSubproblemVarBranchStats::nVarBranchStats, ScipParaDiffSubproblemMpi::nVarBranchStats, ScipParaDiffSubproblemVarBranchStats::offset, ScipParaDiffSubproblemVarBranchStats::upconflen, ScipParaDiffSubproblemVarBranchStats::upcutoff, ScipParaDiffSubproblemVarBranchStats::upinfer, ScipParaDiffSubproblemVarBranchStats::uppscost, ScipParaDiffSubproblemVarBranchStats::upvsids, and ScipParaDiffSubproblem::varBranchStats.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeVarValueVars1
create ScipDiffSubproblemDatatype
Definition at line 1138 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblemVarValues::idxVarValueVars, MPI_CALL, ScipParaDiffSubproblemVarValues::nVarValues, ScipParaDiffSubproblemVarValues::nVarValueValues, ScipParaDiffSubproblemVarValues::nVarValueVars, ScipParaDiffSubproblemMpi::nVarValueVars, and ScipParaDiffSubproblem::varValues.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
create scipDiffSubproblem datatypeVarValueVars2
create ScipDiffSubproblemDatatype
Definition at line 1198 of file scipParaDiffSubproblemMpi.cpp.
References MPI_CALL, ScipParaDiffSubproblemVarValues::nVarValueValues, ScipParaDiffSubproblemVarValues::nVarValueVars, ScipParaDiffSubproblemMpi::nVarValueVars, ScipParaDiffSubproblemVarValues::varValue, ScipParaDiffSubproblemVarValues::varValueDownconflen, ScipParaDiffSubproblemVarValues::varValueDowncutoff, ScipParaDiffSubproblemVarValues::varValueDowninfer, ScipParaDiffSubproblemVarValues::varValueDownvsids, ScipParaDiffSubproblem::varValues, ScipParaDiffSubproblemVarValues::varValueUpconflen, ScipParaDiffSubproblemVarValues::varValueUpcutoff, ScipParaDiffSubproblemVarValues::varValueUpinfer, and ScipParaDiffSubproblemVarValues::varVlaueUpvsids.
|
virtual |
Implements ParaDiffSubproblem.
Definition at line 1963 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::bendersLinearConss, ScipParaDiffSubproblem::boundDisjunctions, ScipParaDiffSubproblem::branchLinearConss, ScipParaDiffSubproblem::branchSetppcConss, comm, ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeBoundChnages(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions1(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions2(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeVarBranchStats(), ScipParaDiffSubproblemMpi::createDatatypeVarValueVars1(), DEF_PARA_COMM, ScipParaDiffSubproblemBoundDisjunctions::idxBoundDisjunctionVars, ScipParaDiffSubproblemBranchSetppcCons::idxSetppcVars, ScipParaDiffSubproblem::indicesAmongSolvers, ScipParaDiffSubproblemBranchLinearCons::linearCoefs, ScipParaDiffSubproblemLinearCons::linearCoefs, ScipParaDiffSubproblem::linearConss, ScipParaDiffSubproblemBranchLinearCons::linearLhss, ScipParaDiffSubproblemLinearCons::linearLhss, ScipParaDiffSubproblem::localInfoIncluded, MPI_CALL, ScipParaDiffSubproblemMpi::nBendersLinearConss, ScipParaDiffSubproblem::nBoundChanges, ScipParaDiffSubproblemMpi::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBranchLinearConss, ScipParaDiffSubproblemMpi::nBranchSetppcConss, ScipParaDiffSubproblemMpi::nLinearConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcVars, ScipParaDiffSubproblemBoundDisjunctions::nTotalVarsBoundDisjunctions, ScipParaDiffSubproblemMpi::nVarBranchStats, ScipParaDiffSubproblemVarValues::nVarValues, ScipParaDiffSubproblemMpi::nVarValueVars, ScipParaDiffSubproblemVarBranchStats::offset, PARA_COMM_CALL, UG::TagDiffSubproblem, ParaSCIP::TagDiffSubproblem1, ParaSCIP::TagDiffSubproblem10, ParaSCIP::TagDiffSubproblem11, ParaSCIP::TagDiffSubproblem12, ParaSCIP::TagDiffSubproblem13, ParaSCIP::TagDiffSubproblem14, ParaSCIP::TagDiffSubproblem2, ParaSCIP::TagDiffSubproblem3, ParaSCIP::TagDiffSubproblem4, ParaSCIP::TagDiffSubproblem5, ParaSCIP::TagDiffSubproblem6, ParaSCIP::TagDiffSubproblem7, ParaSCIP::TagDiffSubproblem8, ParaSCIP::TagDiffSubproblem9, ScipParaDiffSubproblem::varBranchStats, and ScipParaDiffSubproblem::varValues.
|
virtual |
Implements ParaDiffSubproblem.
Definition at line 1707 of file scipParaDiffSubproblemMpi.cpp.
References ScipParaDiffSubproblem::bendersLinearConss, ScipParaDiffSubproblem::boundDisjunctions, ScipParaDiffSubproblem::branchLinearConss, ScipParaDiffSubproblem::branchSetppcConss, comm, ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeBoundChnages(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions1(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions2(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeVarBranchStats(), ScipParaDiffSubproblemMpi::createDatatypeVarValueVars1(), DEF_PARA_COMM, ScipParaDiffSubproblemBoundDisjunctions::idxBoundDisjunctionVars, ScipParaDiffSubproblemBranchSetppcCons::idxSetppcVars, ScipParaDiffSubproblem::indicesAmongSolvers, ScipParaDiffSubproblemBranchLinearCons::linearCoefs, ScipParaDiffSubproblemLinearCons::linearCoefs, ScipParaDiffSubproblem::linearConss, ScipParaDiffSubproblemBranchLinearCons::linearLhss, ScipParaDiffSubproblemLinearCons::linearLhss, ScipParaDiffSubproblem::localInfoIncluded, MPI_CALL, ScipParaDiffSubproblemMpi::nBendersLinearConss, ScipParaDiffSubproblem::nBoundChanges, ScipParaDiffSubproblemBoundDisjunctions::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBoundDisjunctions, ScipParaDiffSubproblemMpi::nBranchLinearConss, ScipParaDiffSubproblemMpi::nBranchSetppcConss, ScipParaDiffSubproblemBranchLinearCons::nLinearConss, ScipParaDiffSubproblemLinearCons::nLinearConss, ScipParaDiffSubproblemMpi::nLinearConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcConss, ScipParaDiffSubproblemBranchSetppcCons::nSetppcVars, ScipParaDiffSubproblemBoundDisjunctions::nTotalVarsBoundDisjunctions, ScipParaDiffSubproblemVarBranchStats::nVarBranchStats, ScipParaDiffSubproblemMpi::nVarBranchStats, ScipParaDiffSubproblemVarValues::nVarValues, ScipParaDiffSubproblemVarValues::nVarValueVars, ScipParaDiffSubproblemMpi::nVarValueVars, ScipParaDiffSubproblemVarBranchStats::offset, PARA_COMM_CALL, UG::TagDiffSubproblem, ParaSCIP::TagDiffSubproblem1, ParaSCIP::TagDiffSubproblem10, ParaSCIP::TagDiffSubproblem11, ParaSCIP::TagDiffSubproblem12, ParaSCIP::TagDiffSubproblem13, ParaSCIP::TagDiffSubproblem14, ParaSCIP::TagDiffSubproblem2, ParaSCIP::TagDiffSubproblem3, ParaSCIP::TagDiffSubproblem4, ParaSCIP::TagDiffSubproblem5, ParaSCIP::TagDiffSubproblem6, ParaSCIP::TagDiffSubproblem7, ParaSCIP::TagDiffSubproblem8, ParaSCIP::TagDiffSubproblem9, ScipParaDiffSubproblem::varBranchStats, and ScipParaDiffSubproblem::varValues.
|
private |
Definition at line 87 of file scipParaDiffSubproblemMpi.h.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBendersLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
Definition at line 88 of file scipParaDiffSubproblemMpi.h.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions1(), ScipParaDiffSubproblemMpi::createDatatypeBoundDisjunctions2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
Definition at line 83 of file scipParaDiffSubproblemMpi.h.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchLinearConss2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
Definition at line 84 of file scipParaDiffSubproblemMpi.h.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss1(), ScipParaDiffSubproblemMpi::createDatatypeBranchSetppcConss2(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().
|
private |
Definition at line 86 of file scipParaDiffSubproblemMpi.h.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss1(), ScipParaDiffSubproblemMpi::createDatatypeLinearConss2(), ScipParaDiffSubproblemMpi::receive(), ScipParaDiffSubproblemMpi::ScipParaDiffSubproblemMpi(), and ScipParaDiffSubproblemMpi::send().
|
private |
|
private |
Definition at line 90 of file scipParaDiffSubproblemMpi.h.
Referenced by ScipParaDiffSubproblemMpi::bcast(), ScipParaDiffSubproblemMpi::createDatatypeCounters(), ScipParaDiffSubproblemMpi::createDatatypeVarValueVars1(), ScipParaDiffSubproblemMpi::createDatatypeVarValueVars2(), ScipParaDiffSubproblemMpi::receive(), and ScipParaDiffSubproblemMpi::send().