Loading...
Searching...
No Matches
spxsimplifier.h
Go to the documentation of this file.
99 };
230 typename SPxSolverBase<R>::VarStatus[], const int rowsSize = -1, const int colsSize = -1) const = 0;
Wrapper for several output streams. A verbosity level is used to decide which stream to use and wheth... Definition spxout.h:78 void setOutstream(SPxOut &newOutstream) Definition spxsimplifier.h:262 virtual const VectorBase< R > & unsimplifiedPrimal()=0 returns a reference to the unsimplified primal solution. virtual SPxSolverBase< R >::VarStatus getBasisColStatus(int) const =0 gets basis status for a single column. virtual const VectorBase< R > & unsimplifiedSlacks()=0 returns a reference to the unsimplified slack values. virtual SPxSolverBase< R >::VarStatus getBasisRowStatus(int) const =0 gets basis status for a single row. R m_minReduction minimal reduction (sum of removed rows/cols) to continue simplification Definition spxsimplifier.h:79 const std::shared_ptr< Tolerances > tolerances() const get the _tolerances member variable Definition spxsimplifier.h:273 virtual void setTolerances(std::shared_ptr< Tolerances > newTolerances) set the _tolerances member variable Definition spxsimplifier.h:268 SPxSimplifier & operator=(const SPxSimplifier &rhs) assignment operator Definition spxsimplifier.h:144 virtual Result simplify(SPxLPBase< R > &lp, Real remainingTime, bool keepbounds=false, uint32_t seed=0)=0 simplify SPxLP lp virtual void setMinReduction(const R minRed) set minimal reduction threshold to continue simplification Definition spxsimplifier.h:245 std::shared_ptr< Tolerances > _tolerances Definition spxsimplifier.h:83 virtual void getBasis(typename SPxSolverBase< R >::VarStatus[], typename SPxSolverBase< R >::VarStatus[], const int rowsSize=-1, const int colsSize=-1) const =0 get optimal basis. virtual const VectorBase< R > & unsimplifiedRedCost()=0 returns a reference to the unsimplified reduced costs. virtual void unsimplify(const VectorBase< R > &, const VectorBase< R > &, const VectorBase< R > &, const VectorBase< R > &, const typename SPxSolverBase< R >::VarStatus[], const typename SPxSolverBase< R >::VarStatus[], bool isOptimal=true)=0 reconstructs an optimal solution for the unsimplified LP. virtual Result result() const =0 returns result status of the simplification virtual const VectorBase< R > & unsimplifiedDual()=0 returns a reference to the unsimplified dual solution. SPxSimplifier(const char *p_name, Timer::TYPE ttype=Timer::USER_TIME) constructor Definition spxsimplifier.h:106 virtual bool isUnsimplified() const specifies whether an optimal solution has already been unsimplified. Definition spxsimplifier.h:206 static Timer * createTimer(Timer::TYPE ttype) create timers and allocate memory for them Definition timerfactory.h:53 virtual Real time() const =0 Everything should be within this namespace. std::ostream & operator<<(std::ostream &s, const VectorBase< R > &vec) Output operator. Definition basevectors.h:1143 Debugging, floating point type and parameter definitions. Saving LPs in a form suitable for SoPlex. main LP solver class TimerFactory class.
|