#include <lemon/lp_glpk.h>
Public Member Functions | |
LpGlpk (const LpGlpk &) | |
void | messageLevel (int m) |
Set the verbosity of the messages. | |
void | presolver (bool b) |
Turns on or off the presolver. | |
LPX * | lpx () |
Pointer to the underlying GLPK data structure. | |
int | lpxRow (Row r) |
Returns the constraint identifier understood by GLPK. | |
int | lpxCol (Col c) |
Returns the variable identifier understood by GLPK. | |
Protected Member Functions | |
virtual LpSolverBase * | _newLp () |
| |
virtual LpSolverBase * | _copyLp () |
| |
virtual SolveExitStatus | _solve () |
| |
virtual SolutionStatus | _getPrimalStatus () const |
|
LpGlpk::SolveExitStatus _solve | ( | ) | [protected, virtual] |
LpGlpk::SolutionStatus _getPrimalStatus | ( | ) | const [protected, virtual] |
void messageLevel | ( | int | m | ) |
Set the verbosity of the messages
m | is the level of the messages output by the solver routines. The possible values are:
|
void presolver | ( | bool | b | ) |
Turns on (b
is true
) or off (b
is false
) the presolver
The presolver is off by default.