GLPK wrapper module for Julia
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Julia GLPK module

Documentation PackageEvaluator Build Status

GLPK.jl is a wrapper for the GNU Linear Programming Kit library. It makes it possible to access nearly all of GLPK functionality from within Julia programs.

See also the GLPKMathProgInterface.jl package for using it with MathProgBase.jl and JuMP.jl.

This package is part of the JuliaOpt project.

Installation

The package is registered in METADATA.jl and so can be installed with Pkg.add.

julia> Pkg.add("GLPK")

GLPK.jl will use BinaryProvider.jl to automatically install the GLPK binaries with GMP support.

Custom Installation

After GLPK.jl is installed and built, you can replace the installed binary dependencies with custom builds by overwriting the binaries and libraries in GLPK.jl's deps/usr folder. For instance, Julia v0.6 this can be achieved by running

./configure --prefix=$HOME/.julia/v0.6/GLPK/deps/usr
make
make install

in GLPK's source folder.

Note that the custom binaries will not be overwritten by subsequent builds of the currently installed version of GLPK.jl. However, if GLPK.jl is updated and the update includes new BinaryProvider versions of the GLPK binaries, then the custom binaries will be overwritten by the new BinaryProvider versions.

Documentation

  • STABLEmost recently tagged version of the documentation.
  • LATESTin-development version of the documentation.