32 assert(base.
nRows() > 0);
33 assert(base.
nCols() > 0);
45 for (i = base.
nRows(); --i >= 0;)
54 for (count = 0;; count++)
57 for (i = base.
nCols(); --i >= 0;)
70 for (i = base.
nRows(); --i >= 0;)
const VectorBase< R > & rhs() const
Returns right hand side vector.
void reDim(int newdim, const bool setZero=true)
Resets DVectorBase's dimension to newdim.
const VectorBase< R > & upper() const
Returns upper bound vector.
Dense vector for linear algebra.
const R * get_const_ptr() const
Conversion to C-style pointer.
int nRows() const
Returns number of rows in LP.
R * get_ptr()
Conversion to C-style pointer.
void setupWeights(SPxSolver &base)
sets up variable weights.
void setupWeights(SPxSolver &base)
sets up variable weights.
const VectorBase< R > & lhs() const
Returns left hand side vector.
Simple heuristic SPxStarter.
Debugging, floating point type and parameter definitions.
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
VectorBase< R > & multAdd(const S &x, const VectorBase< T > &vec)
Addition of scaled vector.
Everything should be within this namespace.
const SVectorBase< R > & rowVector(int i) const
Gets row vector of row i.
void primal(const Vector &v)
sets up primal solution vector.
void clear()
Set vector to 0.
int nCols() const
Returns number of columns in LP.
const VectorBase< R > & lower() const
Returns (internal and possibly scaled) lower bound vector.
R length2() const
Squared norm.