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 Real conditionEstimate(int type=0) const =0
return estimate for the condition number based on the diagonal of U
virtual Status change(int idx, const SVector &subst, const SSVector *eta=0)=0
Substitute column idx with subst.
virtual Status load(const SVector *vec[], int dim)=0
loads dim column vectors vec into the solver.
virtual void clear()=0
unloads any matrix.
SPxOut * spxout
message handler
virtual std::string statistics() const =0
returns statistical information in form of a string.
virtual void solveRight(Vector &x, const Vector &b)=0
Solves .
virtual int dim() const =0
returns dimension of loaded matrix.
virtual void solve3right4update(SSVector &x, Vector &y, Vector &z, const SVector &b, SSVector &d, SSVector &e)=0
Solves , and .
Sparse Linear Solver virtual base class.Class SLinSolver provides a class for solving sparse linear s...
virtual int getFactorCount() const =0
get number of factorizations
virtual Real stability() const =0
returns a stability number (0: singularity, 1: perfect stability).
virtual Status status() const =0
returns the Status of the SLinSolver.
virtual SLinSolver * clone() const =0
clone function for polymorphism
virtual void solveLeft(Vector &x, const Vector &b)=0
solves .
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.
Everything should be within this namespace.
virtual int memory() const =0
returns current memory consumption.
virtual const char * getName() const =0
returns the name of the SLinSolver.
virtual ~SLinSolver()
destructor
SLinSolver()
default constructor
The loaded matrix is singular.
virtual void solve2right4update(SSVector &x, Vector &y, const SVector &b, SSVector &d)=0
Solves and .
Status
status flags of the SLinSolver class.
No matrix has yet been loaded.
virtual void solveRight4update(SSVector &x, const SVector &b)=0
Solves . Possibly sets up internal data structures suitable for an optimized subsequent change() call...