Skip to content

ArmstrongJ/GLPK-Fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNU Linear Programming Kit
  Fortran 2003 Interface
==========================

This package provides a Fortran 2003 compliant interface to the GLPK
package.  This interface is a thin wrapper around the C functions available
in GLPK.  Itis based on work found at:

http://en.wikibooks.org/wiki/GLPK/Fortran

This interface differs significantly in that:

 1. It is more complete.
 2. Actual C pointers are used where appropriate.
 3. It is provided as a triplet of modules for USE in other codes.
 
The code is designed to work with GLPK 4.52, although it should remain
stable enough for future versions thanks to some smart decisions by the
GLPK developers.

Building
--------

The actual library code exists in the 'src' directory.  The files 
"glpk_types.f90" and "glpk_constants.f90" must be built first, then
"glpk.f90" can be built (as it depends on the earlier two).

A Simply Fortran (http://simplyfortran.com/) project has been included 
for convenience.

Using
-----

There are example programs included in the 'examples' directory.

Documentation
-------------

As of right now, there is no Fortran-specific documentation.  The C API
is relatively poorly documented as is, so it might be a while before 
anything is available.

Copyrights
----------

As this code is heavily based on the headers of the GLPK library, the
licensing remains the same:

Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2009, 2010, 2011, 2013 Andrew Makhorin, Department for Applied
Informatics, Moscow Aviation Institute, Moscow, Russia. All rights
reserved. E-mail: <mao@gnu.org>.

Some Fortran Code is Copyright (C) 2014 Jeff Armstrong,
Approximatrix, LLC. All rights reserved. 
Email: <jeff@approximatrix.com>

GLPK is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GLPK is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.

You should have received a copy of the GNU General Public License
along with GLPK. If not, see <http://www.gnu.org/licenses/>.

About

Fortran interface to the GNU Linear Programming Kit

Resources

License

Stars

Watchers

Forks

Packages

No packages published