39 template<
class BaseType,
class CoType>
class Active;
40 template<
class CoType,
class BaseType>
class Separator;
42 template <
class BaseType,
class CoType>
45 template <
class BaseType,
class CoType>
46 std::ostream &operator<< (std::ostream &out, const LpSolution<BaseType, CoType> &rhs);
63 template <
class BaseType,
class CoType>
113 const double *
zVal()
const;
The parameterized class Array implements dynamic arrays of type E.
Base class of all other classes of ABACUS.
The master of the optimization.
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 nVarCon() const
Returns the number of variables (if BaseType is Variable) or the number of constraints (if BaseType i...
int idSub_
The Id of the subproblem in which the LP solution was generated.
LpSolution(Sub *sub, bool primalVariables, Active< BaseType, CoType > *active)
The constructor.
~LpSolution()
The destructor.
Active< BaseType, CoType > * active()
Returns the active variables/constraints.
Active< BaseType, CoType > * active_
The active variables/constraints.
int idLp() const
Returns the Id of the LP in which the LP solution was generated.
const LpSolution< BaseType, CoType > & operator=(const LpSolution< BaseType, CoType > &rhs)
int nVarCon_
The number of variables/constraints.
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.
Master * master_
A pointer to the corresponding master of the optimization.
int idSub() const
Returns the Id of the subproblem in which the LP solution was generated.