SoPlex
Loading...
Searching...
No Matches
spxdefaultrt.h File Reference

Textbook ratio test for SoPlex. More...

#include <assert.h>
#include "soplex/spxdefines.h"
#include "soplex/spxratiotester.h"
#include "spxdefaultrt.hpp"

Go to the source code of this file.

Namespaces

namespace  soplex
 Everything should be within this namespace.

Functions

Construction / destruction

Textbook ratio test for SoPlex.

Class SPxDefaultRT provides an implementation of the textbook ratio test as a derived class of SPxRatioTester. This class is not intended for reliably solving LPs (even though it does the job for ``numerically simple'' LPs). Instead, it should serve as a demonstration of how to write ratio tester classes.

See SPxRatioTester for a class documentation. */ template <class R> class SPxDefaultRT : public SPxRatioTester<R> { public:


/**

 SPxDefaultRT ()
 default constructor
 SPxDefaultRT (const SPxDefaultRT &old)
 copy constructor
SPxDefaultRToperator= (const SPxDefaultRT &rhs)
 assignment operator
virtual ~SPxDefaultRT ()
 destructor
virtual SPxRatioTester< R > * clone () const
 clone function for polymorphism
Select enter/leave
virtual int selectLeave (R &val, R, bool)
virtual SPxId selectEnter (R &val, int, bool)

Detailed Description

Textbook ratio test for SoPlex.

Definition in file spxdefaultrt.h.