37#ifndef __BB_PARA_NODE_MPI_H__
38#define __BB_PARA_NODE_MPI_H__
83 double inDualBoundValue,
84 double inOriginalDualBoundValue,
85 double inEstimatedValue,
88 :
BbParaNode(inNodeId, inGeneratorNodeId, inDepth, inDualBoundValue, inOriginalDualBoundValue, inEstimatedValue, inDiffSubproblem)
ParaComm extension for MPI communication.
Base class for BbParaNode.
int sendSubtreeRootNodeId(ParaComm *comm, int destination, int tag)
send subtree root to be removed
BbParaNodeMpi * clone(ParaComm *comm)
clone this BbParaNodeMpi
int receiveReassignSelfSplitSubtreeRoot(ParaComm *comm, int source)
receive this object node Id
BbParaNodeMpi(TaskId inNodeId, TaskId inGeneratorNodeId, int inDepth, double inDualBoundValue, double inOriginalDualBoundValue, double inEstimatedValue, ParaDiffSubproblem *inDiffSubproblem)
constructor
BbParaNodeMpi()
default constructor
MPI_Datatype createDatatype()
create BbParaNode datatype
int sendReassignSelfSplitSubtreeRoot(ParaComm *comm, int destination)
send subtree root to be reassigned
int sendNewSubtreeRoot(ParaComm *comm, int destination)
send new subtree root node
~BbParaNodeMpi()
destructor
int bcast(ParaComm *comm, int root)
broadcast this object
int receive(ParaComm *comm, int source)
receive this object
MPI_Datatype createDatatypeForNodeId()
create BbParaNode datatype
int receiveNewSubtreeRoot(ParaComm *comm, int source)
receive this object
int send(ParaComm *comm, int destination)
send this object
int receiveSubtreeRootNodeId(ParaComm *comm, int source, int tag)
receive this object
double dualBoundValue
dual bound value
double initialDualBoundValue
dual bound value when this node is created This value is updated to precise one when there is guarant...
int depth
depth from the root node of original tree
Base class of communicator object.
Class for the difference between instance and subproblem.
virtual ParaDiffSubproblem * clone(ParaComm *comm)=0
create clone of this object
ParaDiffSubproblem * diffSubproblem
difference between solving instance data and subproblem data
TaskId taskId
solving task information
TaskId generatorTaskId
subtree root task id of generator
static ScipParaCommTh * comm