37#ifndef __BB_PARA_CALCULATION_STATE_H__
38#define __BB_PARA_CALCULATION_STATE_H__
112 int inNImprovedIncumbent,
113 int inTerminationState,
114 int inNSolvedWithNoPreprocesses,
115 int inNSimplexIterRoot,
116 double inAverageSimplexIter,
117 int inNTransferredLocalCuts,
118 int inMinTransferredLocalCuts,
119 int inMaxTransferredLocalCuts,
120 int inNTransferredBendersCuts,
121 int inMinTransferredBendersCuts,
122 int inMaxTransferredBendersCuts,
129 int inNSelfSplitNodesLeft
268 std::ostringstream s;
271 s <<
"Termination state of this computation was " <<
terminationState <<
" : [ "
273 <<
nSolved <<
" nodes were solved, "
274 <<
nSent <<
" nodes were sent, "
279 s <<
"Computation was normally terminated: [ "
281 <<
nSolved <<
" nodes were solved, "
282 <<
nSent <<
" nodes were sent, "
295 std::ostringstream s;
Base class of Calculation state in a ParaSolver.
int minTransferredLocalCuts
minimum number of local cuts transferred from a ParaNode
int nTransferredBendersCuts
number of benders cuts transferred from a ParaNode
double rootTime
computation time of the root node
double dualBound
final dual bound value
int maxTransferredLocalCuts
maximum number of local cuts transferred from a ParaNode
int maxTransferredBendersCuts
maximum number of benders cuts transferred from a ParaNode
BbParaCalculationState(double inCompTime, double inRootTime, int inNSolved, int inNSent, int inNImprovedIncumbent, int inTerminationState, int inNSolvedWithNoPreprocesses, int inNSimplexIterRoot, double inAverageSimplexIter, int inNTransferredLocalCuts, int inMinTransferredLocalCuts, int inMaxTransferredLocalCuts, int inNTransferredBendersCuts, int inMinTransferredBendersCuts, int inMaxTransferredBendersCuts, int inNRestarts, double inMinIisum, double inMaxIisum, int inMinNii, int inMaxNii, double inDualBound, int inNSelfSplitNodesLeft)
Constructor.
int nSelfSplitNodesLeft
number of self-split nodes left
int nSimplexIterRoot
number of simplex iteration at root node
int maxNii
maximum number of integer infeasibility
int minTransferredBendersCuts
minimum number of benders cuts transferred from a ParaNode
int getNImprovedIncumbent()
getter of the number of improved incumbents during solving the subproblem
int nSolvedWithNoPreprocesses
number of nodes solved when it is solved with no preprocesses
int getNSent()
getter of the number of nodes transferred from the subproblem solving
int nRestarts
number of restarts
double getRootTime()
getter of root node computing time
double averageSimplexIter
average number of simplex iteration except root node
int getNSolvedWithNoPreprocesses()
getter of the number of solved nodes in the case that a node is solved without presolving....
double maxIisum
maximum sum of integer infeasibility
std::string toString()
stringfy BbParaCalculationState
std::string toSimpleString()
stringfy BbParaCalculationState (simple string version)
int nImprovedIncumbent
the number of improved solution generated in this ParaSolver
double getAverageNodeCompTimeExcpetRoot()
getter of average computing time of a node except root node
int getNRestarts()
getter of the number of restart occurred in solving a subproblem
double minIisum
minimum sum of integer infeasibility
BbParaCalculationState()
Default Constructor.
int minNii
minimum number of integer infeasibility
virtual ~BbParaCalculationState()
Destructor.
int nSent
the number of ParaNodes sent
int nTransferredLocalCuts
number of local cuts transferred from a ParaNode
double getDualBoundValue()
getter of the final dual bound value
double getNSelfSplitNodesLeft()
getter of the number of self-split nodes left
int getTerminationState()
getter of the termination state for solving the subproblem
Base class of Calculation state in a ParaSolver.
int nSolved
the number of tasks solved
int terminationState
indicate whether if this computation is terminationState or not. 0: no, 1: terminationState meaning c...
double compTime
computation time of this ParaTask
Base class for calculation state.
Base class of communicator for UG Framework.