37#ifndef __BB_PARA_SOLVER_TERMINATION_STATE_H__
38#define __BB_PARA_SOLVER_TERMINATION_STATE_H__
133 int inTotalNImprovedIncumbent,
134 int inNParaNodesReceived,
135 int inNParaNodesSolved,
136 int inNParaNodesSolvedAtRoot,
137 int inNParaNodesSolvedAtPreCheck,
138 int inNTransferredLocalCutsFromSolver,
139 int inMinTransferredLocalCutsFromSolver,
140 int inMaxTransferredLocalCutsFromSolver,
141 int inNTransferredBendersCutsFromSolver,
142 int inMinTransferredBendersCutsFromSolver,
143 int inMaxTransferredBendersCutsFromSolver,
144 int inNTotalRestarts,
149 int inCalcTerminationState,
150 double inRunningTime,
151 double inIdleTimeToFirstParaNode,
152 double inIdleTimeBetweenParaNodes,
153 double inIddleTimeAfterLastParaNode,
154 double inIdleTimeToWaitNotificationId,
155 double inIdleTimeToWaitAckCompletion,
156 double inIdleTimeToWaitToken,
157 double inTotalRootNodeTime,
158 double inMinRootNodeTime,
159 double inMaxRootNodeTime,
163 inRunningTime, inIdleTimeToFirstParaNode, inIdleTimeBetweenParaNodes, inIddleTimeAfterLastParaNode,
164 inIdleTimeToWaitNotificationId, inIdleTimeToWaitAckCompletion, inIdleTimeToWaitToken, inDetTime),
222 gzstream::ogzstream &out
230 gzstream::igzstream &in
class BbParaSolverTerminationState (Solver termination state in a ParaSolver)
bool read(ParaComm *comm, gzstream::igzstream &in)
read BbParaSolverTerminationState from checkpoint file
int minNSolved
minimum number of subtree nodes rooted from ParaNode
int maxNSolved
maximum number of subtree nodes rooted from ParaNode
int nTransferredLocalCutsFromSolver
number of local cuts transferred from this Solver
int nTightened
number of tightened variable bounds during racing stage
int maxRestarts
maximum number of restarts
int totalNSolved
accumulated number of nodes solved in this ParaSolver
int nParaNodesSolvedAtRoot
number of ParaNodes solved at root node before sending
double maxRootNodeTime
maximum time consumed by root node processes
int getCalcTerminationState()
getter of calcTermination state
virtual ~BbParaSolverTerminationState()
destructor
std::string toString(ParaInitiator *initiator)
stringfy BbParaSolverTerminationState object
BbParaSolverTerminationState(int inInterrupted, int inRank, int inTotalNSolved, int inMinNSolved, int inMaxNSolved, int inTotalNSent, int inTotalNImprovedIncumbent, int inNParaNodesReceived, int inNParaNodesSolved, int inNParaNodesSolvedAtRoot, int inNParaNodesSolvedAtPreCheck, int inNTransferredLocalCutsFromSolver, int inMinTransferredLocalCutsFromSolver, int inMaxTransferredLocalCutsFromSolver, int inNTransferredBendersCutsFromSolver, int inMinTransferredBendersCutsFromSolver, int inMaxTransferredBendersCutsFromSolver, int inNTotalRestarts, int inMinRestarts, int inMaxRestarts, int inNTightened, int inNTightenedInt, int inCalcTerminationState, double inRunningTime, double inIdleTimeToFirstParaNode, double inIdleTimeBetweenParaNodes, double inIddleTimeAfterLastParaNode, double inIdleTimeToWaitNotificationId, double inIdleTimeToWaitAckCompletion, double inIdleTimeToWaitToken, double inTotalRootNodeTime, double inMinRootNodeTime, double inMaxRootNodeTime, double inDetTime)
constructor
int totalNSent
accumulated number of nodes sent from this ParaSolver
int minRestarts
minimum number of restarts
void write(gzstream::ogzstream &out)
write BbParaSolverTerminationState to checkpoint file
int nTightenedInt
number of tightened integral variable bounds during racing stage
int nTransferredBendersCutsFromSolver
number of benders cuts transferred from this Solver
double minRootNodeTime
minimum time consumed by root node processes
int minTransferredLocalCutsFromSolver
minimum number of local cuts transferred from this Solver
int minTransferredBendersCutsFromSolver
minimum number of benders cuts transferred from this Solver
int nParaNodesSolvedAtPreCheck
number of ParaNodes solved at pre-checking of root node solvability
BbParaSolverTerminationState()
default constructor
int maxTransferredBendersCutsFromSolver
maximum number of benders cuts transferred from this Solver
int maxTransferredLocalCutsFromSolver
maximum number of local cuts transferred from this Solver
double totalRootNodeTime
total time consumed by root node processes
int totalNImprovedIncumbent
accumulated number of improvements of incumbent value in this ParaSolver
int nTotalRestarts
number of total restarts
Base class of communicator object.
class ParaSolverTerminationState (Solver termination state in a ParaSolver)
static ScipParaCommTh * comm
Utilities for handling gzipped input and output streams.
static const int CompTerminatedNormally
Base class of communicator for UG Framework.
Base class of initiator that maintains original problem and incumbent solution.
This class contains solver termination state which is transferred form Solver to LC.