Loading...
Searching...
No Matches
spxbasis.h
Go to the documentation of this file.
31/* undefine SOPLEX_DEBUG flag from including files; if SOPLEX_DEBUG should be defined in this file, do so below */
111 };
207 };
360 /// \c true iff the pointers in \ref soplex::SPxBasisBase<R>::matrix "matrix" are set up correctly.
368 /// \c true iff \ref soplex::SPxBasisBase<R>::factor "factor" = \ref soplex::SPxBasisBase<R>::matrix "matrix" \f$^{-1}\f$.
787 void coSolve(SSVectorBase<R>& x, VectorBase<R>& y, VectorBase<R>& z, const SVectorBase<R>& rhsx,
796 void coSolve(SSVectorBase<R>& x, SSVectorBase<R>& y, SSVectorBase<R>& z, const SVectorBase<R>& rhsx,
982 /// loads \ref soplex::SPxBasisBase<R>::matrix "matrix" according to the SPxId%s stored in \ref soplex::SPxBasisBase<R>::theBaseId "theBaseId".
friend std::ostream & operator<<(std::ostream &os, const Status &stat) Desc(const SPxSolverBase< R > &base) const Status * coStatus(void) const returns the array of covariable Statuses. Definition spxbasis.h:306 void dump() const void changedRow(int) inform SPxBasisBase that a row had been changed. R condition(int maxiters=10, R tolerance=1e-6) void coSolve(SSVectorBase< R > &x, VectorBase< R > &y, VectorBase< R > &z, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy, SSVectorBase< R > &rhsz) solves three systems in one call. May be improved by using just one pass through the basis. Definition spxbasis.h:787 const SVectorBase< R > & baseVec(int i) const returns the i'th basic vector. Definition spxbasis.h:524 void removedRows(const int perm[]) inform SPxBasisBase that rows in perm with negative entry were removed. virtual bool readBasis(std::istream &in, const NameSet *rowNames, const NameSet *colNames) SPxBasisBase< R > & operator=(const SPxBasisBase< R > &rhs) assignment operator int lastDegenCheck() const returns the number of iterations since the last degeneracy check Definition spxbasis.h:567 void printMatrixMTX(int number) void solve(SSVectorBase< R > &x, const SVectorBase< R > &rhs) Definition spxbasis.h:655 Desc::Status dualStatus(const SPxId &id) const dual Status for the variable with ID id of the loaded LP. Definition spxbasis.h:500 int lastNzCount number of nonzeros in basis matrix after last fresh factorization Definition spxbasis.h:408 void solve4update(SSVectorBase< R > &x, SSVectorBase< R > &y, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy) solves two systems in one call using only sparse data structures Definition spxbasis.h:701 void solve(VectorBase< R > &x, const VectorBase< R > &rhs) Definition spxbasis.h:641 void coSolve(VectorBase< R > &x, const VectorBase< R > &rhs) Cosolves linear system with basis matrix. Definition spxbasis.h:741 void removedCol(int i) inform SPxBasisBase that column i had been removed. Desc::Status dualStatus(const SPxColId &id) const dual Status for the column variable with ID id of the loaded LP. void removedCols(const int perm[]) inform SPxBasisBase that columns in perm with negative entry were removed. void removedRow(int i) inform SPxBasisBase that row i had been removed. void coSolve(SSVectorBase< R > &x, SSVectorBase< R > &y, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy) Sparse version of solving two systems in one call. Definition spxbasis.h:778 VectorBase< R > & multBaseWith(VectorBase< R > &x) const Basis-vector product. void addedRows(int n) inform SPxBasisBase, that n new rows had been added. virtual bool isDescValid(const Desc &ds) checks if a Descriptor is valid for the current LP w.r.t. its bounds void solve4update(SSVectorBase< R > &x, SSVectorBase< R > &y, SSVectorBase< R > &y2, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy, SSVectorBase< R > &rhsy2) solves three systems in one call using only sparse data structures Definition spxbasis.h:721 R memFactor allowed total increase in memory consumption before refactorization Definition spxbasis.h:394 int getMaxUpdates() const returns maximum number of updates before a refactorization is performed Definition spxbasis.h:467 virtual void writeBasis(std::ostream &os, const NameSet *rownames, const NameSet *colnames, const bool cpxFormat=false) const SPxBasisBase(Timer::TYPE ttype=Timer::USER_TIME) default constructor. virtual void load(SPxSolverBase< R > *lp, bool initSlackBasis=true) loads the LP lp to the basis. DataArray< const SVectorBase< R > * > matrix pointers to the vectors of the basis matrix. Definition spxbasis.h:359 virtual void loadBasisSolver(SLinSolver< R > *solver, const bool destroy=false) sets up linear solver to use. void coSolve(SSVectorBase< R > &x, SSVectorBase< R > &y, SSVectorBase< R > &z, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy, SSVectorBase< R > &rhsz) Sparse version of solving three systems in one call. Definition spxbasis.h:796 SPxId lastEntered() const returns SPxId of last VectorBase<R> included to the basis. Definition spxbasis.h:531 Desc::Status dualStatus(const SPxRowId &id) const dual Status for the row variable with ID id of the loaded LP. void multBaseWith(SSVectorBase< R > &x, SSVectorBase< R > &result) const Basis-vector product. void coSolve(SSVectorBase< R > &x, VectorBase< R > &y, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy) solves two systems in one call. Definition spxbasis.h:769 void coSolve(SSVectorBase< R > &x, const SVectorBase< R > &rhs) Sparse version of coSolve. Definition spxbasis.h:755 int prevIteration() const returns the number of iterations prior to the last break in execution Definition spxbasis.h:561 void changedElement(int, int) inform SPxBasisBase that a matrix entry had been changed. R getMatrixMetric(int type=0) int lastUpdate() const returns number of basis changes since last refactorization. Definition spxbasis.h:549 void solve4update(SSVectorBase< R > &x, const SVectorBase< R > &rhs) solves linear system with basis matrix. Definition spxbasis.h:678 void loadMatrixVecs() loads matrix according to the SPxIds stored in theBaseId. std::string statistics() const returns statistical information in form of a string. Definition spxbasis.h:944 void solve4update(SSVectorBase< R > &x, VectorBase< R > &y, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy) solves two systems in one call. Definition spxbasis.h:692 virtual void change(int i, SPxId &id, const SVectorBase< R > *enterVec, const SSVectorBase< R > *eta=nullptr) performs basis update. virtual void printMatrix() const VectorBase< R > & multWithBase(VectorBase< R > &x) const Vector-basis product. void addedCols(int n) inform SPxBasisBase that n new columns had been added. void setMaxUpdates(int maxUp) change maximum number of iterations until a refactorization is performed Definition spxbasis.h:460 void multWithBase(SSVectorBase< R > &x, SSVectorBase< R > &result) const VectorBase<R>-basis product. Desc::Status dualColStatus(int i) const dual Status for the i'th column variable of the loaded LP. Desc::Status dualRowStatus(int i) const dual Status for the i'th row variable of the loaded LP. void solve4update(SSVectorBase< R > &x, VectorBase< R > &y, VectorBase< R > &y2, const SVectorBase< R > &rhsx, SSVectorBase< R > &rhsy, SSVectorBase< R > &rhsy2) solves three systems in one call. Definition spxbasis.h:710 void changedCol(int) inform SPxBasisBase that a column had been changed. Wrapper for several output streams. A verbosity level is used to decide which stream to use and wheth... Definition spxout.h:78 virtual Real time() const =0 Save arrays of data objects. Set of strings. Everything should be within this namespace. std::ostream & operator<<(std::ostream &s, const VectorBase< R > &vec) Output operator. Definition basevectors.h:1143 Sparse Linear Solver virtual base class. Debugging, floating point type and parameter definitions. Saving LPs in a form suitable for SoPlex. Wrapper for different output streams and verbosity levels. Semi sparse vector. Sparse vectors. TimerFactory class.
|