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()

GlpkLp( const GlpkLp & )

virtual GlpkLp * cloneSolver() const

virtual GlpkLp * newSolver() const

SolveExitStatus solvePrimal()

Solve with primal simplex.

SolveExitStatus solveDual()

Solve with dual simplex.

void presolver( bool presolve )

Turns on or off the presolver.

Turns on (b is true) or off (b is false) the presolver

The 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