LpGlpk Class Reference
[General Optimization Tools]

#include <lemon/lp_glpk.h>

Inherits LpSolverBase.

Inherited by MipGlpk.

Inheritance diagram for LpGlpk:

Inheritance graph
[legend]
List of all members.

Detailed Description

This class implements an interface for the GLPK LP solver.


Public Member Functions

 LpGlpk ()
void messageLevel (int m)
 Set the verbosity of the messages.
void presolver (bool b)
 Turns on or off the presolver.

Protected Member Functions

virtual LpSolverBase_newLp ()
 
virtual LpSolverBase_copyLp ()
 
virtual void _setCoeff (int row, int col, Value value)
virtual SolveExitStatus _solve ()
 
virtual SolutionStatus _getPrimalStatus ()
 


Constructor & Destructor Documentation

LpGlpk (  ) 


Member Function Documentation

void _setCoeff ( int  row,
int  col,
Value  value 
) [protected, virtual]

LpGlpk::SolveExitStatus _solve (  )  [protected, virtual]

Todo:
It should be clarified

Implements LpSolverBase.

LpGlpk::SolutionStatus _getPrimalStatus (  )  [protected, virtual]

Todo:
It should be clarified

Implements LpSolverBase.

void messageLevel ( int  m  ) 

Set the verbosity of the messages

Parameters:
m is the level of the messages output by the solver routines. The possible values are:
  • 0 --- no output (default value)
  • 1 --- error messages only
  • 2 --- normal output
  • 3 --- full output (includes informational messages)

void presolver ( bool  b  ) 

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

The presolver is off by default.


The documentation for this class was generated from the following files:
Generated on Tue Oct 31 09:51:02 2006 for LEMON by  doxygen 1.5.1