37#ifndef __BB_PARA_SOLVER_STATE_MPI_H__
38#define __BB_PARA_SOLVER_STATE_MPI_H__
76 unsigned int inNotificationId,
78 int inGlobalSubtreeId,
79 long long inNodesSolved,
81 double inBestDualBoundValue,
82 double inGlobalBestPrimalBoundValue,
84 double inAverageDualBoundGain
86 :
BbParaSolverState(inRacingStage, inNotificationId, inLcId, inGlobalSubtreeId, inNodesSolved,
87 inNodesLeft, inBestDualBoundValue, inGlobalBestPrimalBoundValue, inDetTime, inAverageDualBoundGain)
119#define DEF_PARA_SOLVER_STATE( para_state, state ) BbParaSolverStateMpi *para_state = dynamic_cast< BbParaSolverStateMpi* >(state)
ParaComm extension for MPI communication.
This class has solver state to be transferred.
class BbParaSolverStateMpi (ParaSolver state object for notification message communicated by MPI)
void send(ParaComm *comm, int destination, int tag)
send this object
BbParaSolverStateMpi(int inRacingStage, unsigned int inNotificationId, int inLcId, int inGlobalSubtreeId, long long inNodesSolved, int inNodesLeft, double inBestDualBoundValue, double inGlobalBestPrimalBoundValue, double inDetTime, double inAverageDualBoundGain)
constructor
MPI_Datatype createDatatype()
create BbParaSolverStateMpi datatype
BbParaSolverStateMpi()
default constructor
void receive(ParaComm *comm, int source, int tag)
receive this object
~BbParaSolverStateMpi()
destractor
class BbParaSolverState (ParaSolver state object for notification message)
Base class of communicator object.
static ScipParaCommTh * comm