simple example of how to build up and solve an lp using the SoPlex callable library More...
Go to the source code of this file.
Functions | |
void | test_real () |
void | test_rational () |
int | main () |
simple example of how to build up and solve an lp using the SoPlex callable library
Definition in file example.cpp.
int main | ( | ) |
Definition at line 135 of file example.cpp.
References test_rational(), and test_real().
void test_rational | ( | ) |
Definition at line 75 of file example.cpp.
References DSVectorBase< R >::add(), SoPlexBase< R >::CHECKMODE, SoPlexBase< R >::CHECKMODE_RATIONAL, SoPlexBase< R >::FEASTOL, soplex::infinity, SoPlexBase< R >::OBJSENSE, SoPlexBase< R >::OBJSENSE_MINIMIZE, SPxSolverBase< R >::OPTIMAL, SoPlexBase< R >::OPTTOL, SoPlexBase< R >::READMODE, SoPlexBase< R >::READMODE_RATIONAL, SoPlexBase< R >::SOLVEMODE, SoPlexBase< R >::SOLVEMODE_RATIONAL, SoPlexBase< R >::SYNCMODE, and SoPlexBase< R >::SYNCMODE_AUTO.
Referenced by main().
void test_real | ( | ) |
Definition at line 28 of file example.cpp.
References DSVectorBase< R >::add(), soplex::infinity, SoPlexBase< R >::OBJSENSE, SoPlexBase< R >::OBJSENSE_MINIMIZE, and SPxSolverBase< R >::OPTIMAL.
Referenced by main().