39template<
class BaseType,
class CoType>
class Active;
40template<
class CoType,
class BaseType>
class Separator;
42template <
class BaseType,
class CoType>
45template <
class BaseType,
class CoType>
63template <
class BaseType,
class CoType>
Base class of all other classes of ABACUS.
Implements the sets of active constraints and variables which are associated with each subproblem.
Array< double > zVal_
The primal/dual variables of the LP solution.
int idSub_
The Id of the subproblem in which the LP solution was generated.
int nVarCon_
The number of variables/constraints.
LpSolution(Master *master)
The constructor.
~LpSolution()
The destructor.
LpSolution(Sub *sub, bool primalVariables, Active< BaseType, CoType > *active)
The constructor.
LpSolution(const LpSolution< BaseType, CoType > &rhs)
The copy constructor.
Active< BaseType, CoType > * active()
Returns the active variables/constraints.
const LpSolution< BaseType, CoType > & operator=(const LpSolution< BaseType, CoType > &rhs)
Active< BaseType, CoType > * active_
The active variables/constraints.
Master * master_
A pointer to the corresponding master of the optimization.
const double * zVal() const
Returns the primal/dual variables of the LP solution.
int nVarCon() const
Returns the number of variables (if BaseType is Variable) or the number of constraints (if BaseType i...
int idLp() const
Returns the Id of the LP in which the LP solution was generated.
double * zVal()
Returns the primal/dual variables of the LP solution.
int idLp_
The Id of the LP in which the LP solution was generated.
int idSub() const
Returns the Id of the subproblem in which the LP solution was generated.
The master of the optimization.
The parameterized class Array implements dynamic arrays of type E.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
std::ostream & operator<<(std::ostream &out, const Active< BaseType, CoType > &rhs)