LpGlpk Class Reference
[General Optimization Tools]

#include <lemon/lp_glpk.h>

Inherits LpSolverBase.

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  ) 
 

Todo:
constrol function for this:


Member Function Documentation

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

FIXME Of course this is not efficient at all, but GLPK knows not more.

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 Fri Feb 3 18:42:09 2006 for LEMON by  doxygen 1.4.6