GlpkLp
Declared in lemon/glpk.h, in the group LP and MIP Solvers; the same class on the Doxygen site.
-
class GlpkLp : public LpSolver, public GlpkBase
Interface for the GLPK LP solver.
This class implements an interface for the GLPK LP solver.
Public Functions
-
GlpkLp()
-
SolveExitStatus solvePrimal()
Solve with primal simplex.
-
SolveExitStatus solveDual()
Solve with dual simplex.
-
void presolver( bool presolve )
Turns on or off the presolver.
Turns on (
bistrue) or off (bisfalse) the presolverThe presolver is off by default.
Protected Functions
-
virtual const char * _solverName() const
-
virtual SolveExitStatus _solve()
-
virtual Value _getPrimal( int i ) const
-
virtual Value _getDual( int i ) const
-
virtual Value _getPrimalValue() const
-
virtual VarStatus _getColStatus( int i ) const
-
virtual VarStatus _getRowStatus( int i ) const
-
virtual Value _getPrimalRay( int i ) const
-
virtual Value _getDualRay( int i ) const
-
virtual ProblemType _getPrimalType() const
-
virtual ProblemType _getDualType() const
-
GlpkLp()