39template <
class BaseType,
class CoType>
44 master_(sub->master_),
48 zVal_(master_, nVarCon_)
61 for(
int i = 0; i < nVarCon_; i++)
66template <
class BaseType,
class CoType>
67LpSolution<BaseType, CoType>::LpSolution(Master *master)
79template <
class BaseType,
class CoType>
83 nVarCon_(rhs.nVarCon_),
93template <
class BaseType,
class CoType>
94LpSolution<BaseType, CoType>::~LpSolution()
100template <
class BaseType,
class CoType>
103 double machEps=rhs.master_->machineEps();
104 os << rhs.idSub_ <<
" ";
105 os << rhs.idLp_ <<
" ";
106 os << rhs.nVarCon_ <<
" ";
107 for(
int i = 0; i < rhs.nVarCon_; i++)
111 os << rhs.zVal_[i] <<
" " ;
117template <
class BaseType,
class CoType>
118int LpSolution<BaseType, CoType>::nVarCon()
const
124template <
class BaseType,
class CoType>
125double* LpSolution<BaseType, CoType>::zVal()
131template <
class BaseType,
class CoType>
138template <
class BaseType,
class CoType>
139int LpSolution<BaseType, CoType>::idSub()
const
145template <
class BaseType,
class CoType>
146int LpSolution<BaseType, CoType>::idLp()
const
LpSolution(Sub *sub, bool primalVariables, Active< BaseType, CoType > *active)
The constructor.
the master of the optimization.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.