21 #ifndef _SPXBOUNDFLIPPINGRT_H_ 22 #define _SPXBOUNDFLIPPINGRT_H_ 191 , enableBoundFlips(true)
192 , enableRowBoundFlips(false)
202 , enableBoundFlips(old.enableBoundFlips)
203 , enableRowBoundFlips(old.enableRowBoundFlips)
252 enableBoundFlips = bf;
257 enableRowBoundFlips = bf;
263 #endif // _SPXBOUNDFLIPPINGRT_H_ Rational spxAbs(const Rational &r)
Absolute.
Fast shifting ratio test.
Bound flipping ratio test ("long step dual") for SoPlex.Class SPxBoundFlippingRT provides an implemen...
void collectBreakpointsMax(int &nBp, int &minIdx, const int *idx, int nnz, const Real *upd, const Real *vec, const Real *upp, const Real *low, BreakpointSource src)
Safe arrays of data objects.Class DataArray provides safe arrays of Data Objects. For general C++ obj...
Real operator()(Breakpoint i, Breakpoint j) const
SPxBoundFlippingRT(const SPxBoundFlippingRT &old)
copy constructor
virtual int selectLeave(Real &val, Real enterTest, bool polish=false)
Abstract ratio test base class.
void useBoundFlipsRow(bool bf)
Abstract ratio test base class.Class SPxRatioTester is the virtual base class for computing the ratio...
virtual ~SPxBoundFlippingRT()
destructor
void collectBreakpointsMin(int &nBp, int &minIdx, const int *idx, int nnz, const Real *upd, const Real *vec, const Real *upp, const Real *low, BreakpointSource src)
Generic Ids for LP rows or columns.Both SPxColIds and SPxRowIds may be treated uniformly as SPxIds: ...
Fast shifting ratio test.Class SPxFastRT is an implementation class of SPxRatioTester providing fast ...
virtual SPxId selectEnter(Real &val, int leaveIdx, bool polish=false)
Debugging, floating point type and parameter definitions.
SPxBoundFlippingRT()
default constructor
void useBoundFlips(bool bf)
Everything should be within this namespace.
bool getData(Real &val, SPxId &enterId, int idx, Real stab, Real degeneps, const Real *upd, const Real *vec, const Real *low, const Real *upp, BreakpointSource src, Real max)
SPxFastRT & operator=(const SPxFastRT &rhs)
assignment operator
void flipAndUpdate(int &usedBp)
DataArray< Breakpoint > breakpoints
SPxBoundFlippingRT & operator=(const SPxBoundFlippingRT &rhs)
assignment operator
virtual SPxRatioTester * clone() const
clone function for polymorphism
static bool isSmaller(Breakpoint x, Breakpoint y)