25 #define SOPLEX_DEBUG_SOLBASE 47 template <
class S >
friend class SolBase;
302 #ifdef SOPLEX_DEBUG_SOLBASE 304 #undef SOPLEX_DEBUG_SOLBASE 307 #endif // _SOLBASE_H_
bool getDual(VectorBase< R > &vector) const
gets the dual solution vector; returns true on success
int totalSizeDual(const int base=2) const
returns total size of dual solution
DVectorBase< R > _dualFarkas
Dynamic dense vectors.Class DVectorBase is a derived class of VectorBase adding automatic memory mana...
Dense vector.Class VectorBase provides dense linear algebra vectors. It does not provide memory manag...
int totalSizePrimal(const int base=2) const
returns total size of primal solution
int dlcmSizeRational(const Rational *vector, const int length, const int base)
Size of least common multiple of denominators in rational vector.
bool getSlacks(VectorBase< R > &vector) const
gets the vector of slack values; returns true on success
DVectorBase< R > _primalRay
DVectorBase< R > _redCost
SolBase< R > & operator=(const SolBase< R > &sol)
assignment operator only for friends
bool hasDualFarkas() const
is a dual farkas ray available?
unsigned int _hasPrimalRay
bool getRedCost(VectorBase< R > &vector) const
gets the vector of reduced cost values if available; returns true on success
int totalSizeRational(const Rational *vector, const int length, const int base)
Total size of rational vector.
int dlcmSizeDual(const int base=2) const
returns size of least common multiple of denominators in dual solution
bool getPrimal(VectorBase< R > &vector) const
gets the primal solution vector; returns true on success
int dmaxSizeRational(const Rational *vector, const int length, const int base)
Size of largest denominator in rational vector.
unsigned int _hasDualFarkas
SolBase< R > & operator=(const SolBase< S > &sol)
assignment operator only for friends
bool isPrimalFeasible() const
is the stored solution primal feasible?
Class for storing a primal-dual solution with basis information.
bool getPrimalRay(VectorBase< R > &vector) const
gets the primal unbounded ray if available; returns true on success
int dmaxSizeDual(const int base=2) const
returns size of largest denominator in dual solution
bool isDualFeasible() const
is a dual solution available?
int dlcmSizePrimal(const int base=2) const
returns size of least common multiple of denominators in primal solution
Collection of dense, sparse, and semi-sparse vectors.
Everything should be within this namespace.
Preconfigured SoPlex LP-solver.
int dmaxSizePrimal(const int base=2) const
returns size of largest denominator in primal solution
unsigned int _isPrimalFeasible
bool getDualFarkas(VectorBase< R > &vector) const
gets the Farkas proof if available; returns true on success
void invalidate()
invalidate solution
bool hasPrimalRay() const
is a primal unbounded ray available?
unsigned int _isDualFeasible