57 if( commTh->getRank() == root )
59 for(
int i = 0; i < commTh->getSize(); i++ )
81 depth = received->depth;
151 commTh->uTypeSend((
void *)sent,
ParaTaskType, destination, tag)
189 taskId = received->taskId;
191 depth = received->depth;
219 taskId = received->taskId;
221 depth = received->depth;
248 commTh->uTypeReceive((
void **)&received,
ParaTaskType, source, tag)
250 taskId = received->taskId;
double estimatedValue
estimate value
double dualBoundValue
dual bound value
int basisInfo
indicate if basis information is including or not
static const int TagNewSubtreeRootNode
static ScipParaCommTh * comm
BbParaNodeTh * clone(ParaComm *comm)
clone this BbParaNodeTh
int sendSubtreeRootNodeId(ParaComm *comm, int destination, int tag)
send subtree root to be removed
int bcast(ParaComm *comm, int root)
broadcast this object
bool isRootTask()
check if root task or not
int receiveNewSubtreeRoot(ParaComm *comm, int source)
receive this object
int diffSubproblemInfo
1: with diffSubproblem, 0: no diffSubproblem
double initialDualBoundValue
dual bound value when this node is created This value is updated to precise one when there is guarant...
#define PARA_COMM_CALL(paracommcall)
TaskId generatorTaskId
subtree root task id of generator
ParaDiffSubproblem * diffSubproblem
difference between solving instance data and subproblem data
int mergingStatus
merging status: -1 - no merging node, 0 - checking, 1 - merged (representative) 2 - merged to the oth...
BbParaMergeNodeInfo * mergeNodeInfo
pointer to mergeNodeInfo. Not zero means merging
BbParaNodeTh * createDatatype(ParaComm *comm)
create BbParaNode datatype
#define DEF_PARA_COMM(para_comm, comm)
virtual ParaDiffSubproblem * clone(ParaComm *comm)=0
create clone of this object
int receive(ParaComm *comm, int source)
receive this object
int sendNewSubtreeRoot(ParaComm *comm, int destination)
send new subtree root node
static const int ParaTaskType
int depth
depth from the root node of original tree
int receiveSubtreeRootNodeId(ParaComm *comm, int source, int tag)
receive this object node Id
TaskId taskId
solving task information
int send(ParaComm *comm, int destination)
send this object
Base class of communicator object.