19 #ifndef _SPXRATIOTESTER_H_ 20 #define _SPXRATIOTESTER_H_ 177 : thesolver(old.thesolver)
209 #endif // _SPXRATIOTESTER_H_ virtual void setType(SPxSolver::Type)
sets Simplex type.
virtual Real getDelta()
get allowed bound violation
Real delta
allowed bound violation
SPxRatioTester(const SPxRatioTester &old)
copy constructor
Abstract ratio test base class.Class SPxRatioTester is the virtual base class for computing the ratio...
virtual SPxId selectEnter(Real &val, int leaveIdx, bool polish=false)=0
selects variable Id to enter the basis.
virtual SPxRatioTester * clone() const =0
clone function for polymorphism
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
virtual ~SPxRatioTester()
destructor.
#define DEFAULT_EPS_ZERO
default allowed additive zero: 1.0 + EPS_ZERO == 1.0
const char * m_name
name of the ratio tester
SPxRatioTester & operator=(const SPxRatioTester &rhs)
assignment operator
SPxRatioTester(const char *name)
default constructor
virtual void load(SPxSolver *p_solver)
loads LP.
virtual void setDelta(Real newDelta)
set allowed bound violation
virtual const char * getName() const
get name of ratio tester.
Debugging, floating point type and parameter definitions.
Sequential object-oriented SimPlex.SPxSolver is an LP solver class using the revised Simplex algorith...
SPxSolver * thesolver
the solver
Everything should be within this namespace.
virtual SPxSolver * solver() const
returns loaded LP solver.
virtual int selectLeave(Real &val, Real enterTest, bool polish=false)=0
selects index to leave the basis.
virtual void clear()
unloads LP.
SPxSolver::Type m_type
internal storage of type