LpGlpk Class Reference
[Lp and Mip solvers]


Detailed Description

This class implements an interface for the GLPK LP solver. #include <lemon/lp_glpk.h>

Inheritance diagram for LpGlpk:

Inheritance graph
[legend]

List of all members.

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
 


Constructor & Destructor Documentation

LpGlpk ( const LpGlpk glp  ) 

Todo:
control function for this:


Member Function Documentation

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

Todo:
It should be clarified

Implements LpSolverBase.

LpGlpk::SolutionStatus _getPrimalStatus (  )  const [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.


Generated on Thu Jun 4 04:05:17 2009 for LEMON by  doxygen 1.5.9