19 #ifndef _SLINSOLVER_H_ 20 #define _SLINSOLVER_H_ 72 virtual const char*
getName()
const = 0;
78 virtual void clear() = 0;
81 virtual int memory()
const = 0;
84 virtual int dim()
const = 0;
220 #endif // _SLINSOLVER_H_ virtual void solveRight(VectorBase< R > &x, const VectorBase< R > &b)=0
Solves .
virtual void clear()=0
unloads any matrix.
SPxOut * spxout
message handler
Dense vector.Class VectorBase provides dense linear algebra vectors. Internally, VectorBase wraps std...
virtual std::string statistics() const =0
returns statistical information in form of a string.
virtual SLinSolver< R > * clone() const =0
clone function for polymorphism
virtual int dim() const =0
returns dimension of loaded matrix.
virtual void solveRight4update(SSVectorBase< R > &x, const SVectorBase< R > &b)=0
Solves . Possibly sets up internal data structures suitable for an optimized subsequent change() call...
virtual R stability() const =0
returns a stability number (0: singularity, 1: perfect stability).
virtual R matrixMetric(int type=0) const =0
return estimate for the condition number based on the diagonal of U
Sparse Linear Solver virtual base class.Class SLinSolver provides a class for solving sparse linear s...
virtual Status load(const SVectorBase< R > *vec[], int dim)=0
loads dim column vectors vec into the solver.
Semi sparse vector.This class implements semi-sparse vectors. Such are VectorBases where the indices ...
virtual int getFactorCount() const =0
get number of factorizations
virtual Status status() const =0
returns the Status of the SLinSolver.
Wrapper for several output streams. A verbosity level is used to decide which stream to use and wheth...
virtual bool isConsistent() const =0
consistency check.
Debugging, floating point type and parameter definitions.
virtual Status change(int idx, const SVectorBase< R > &subst, const SSVectorBase< R > *eta=0)=0
Substitute column idx with subst.
Everything should be within this namespace.
virtual int memory() const =0
returns current memory consumption.
virtual void solveLeft(VectorBase< R > &x, const VectorBase< R > &b)=0
solves .
virtual const char * getName() const =0
returns the name of the SLinSolver.
virtual ~SLinSolver()
destructor
SLinSolver()
default constructor
virtual void solve2right4update(SSVectorBase< R > &x, VectorBase< R > &y, const SVectorBase< R > &b, SSVectorBase< R > &d)=0
Solves and .
Sparse vectors.Class SVectorBase provides packed sparse vectors. Such are a sparse vectors...
The loaded matrix is singular.
Status
status flags of the SLinSolver class.
No matrix has yet been loaded.
virtual void solve3right4update(SSVectorBase< R > &x, VectorBase< R > &y, VectorBase< R > &z, const SVectorBase< R > &b, SSVectorBase< R > &d, SSVectorBase< R > &e)=0
Solves , and .