Bpp/Linear_system
Glpk
C++
 
 
DESCRIPTION
 

This module provides facilities to solve linear programs with the GLPK 4.54 package.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Linear_system.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <cstdio>

  • <bpp/linear_system/solver.hpp>

  • <glpk.h>

 
NEEDED FILES
 

The files listed below are needed by the implementation part of the module. But a module dependent of this module is not necessary dependent of the files listed here.

  • <cstdio>

  • <bpp/file_name.hpp>

  • <bpp/modules.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • linearSystemSolver

 
MACROCOMMANDS
 

The macrocommands listed below can be used without specifying the namespace where they have been defined. That means you can not define an element by your own that have the same name.

  • glpk_yes(prLine)
    The expression prLine is integrated into the source code if GLPK is used.

  • glpk_no(prLine)
    The expression prLine is integrated into the source code if GLPK is not used.

 
ERRORS
 

Here are listed the errors that are supported or generated by the module. To use one of them, you do not have to specify the namespace of the module.

  • erGlpkImproperUse
    Improper use of the GLPK solver.

  • erGlpkIterationLimitExceeded
    The maximum number of iterations is reached.

  • erGlpkNumericalProblem
    Numerical problem to solve the linear program.

  • erGlpkTimeLimitExceeded
    The maximum time of execution is reached.

  • erGlpkUnknownError
    An unknown error has occurred in the GLPK package.

  • erGlpkNotInstalled
    The library is not built for the use of the GLPK package.

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clGlpkSolver
 
 
Declaration

template <class prContent> class clGlpkSolver : public linearSystemSolver::clSolver<prContent>

 
Description

Represents the GLPK solver.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).