Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 3.41 KB

README.md

File metadata and controls

67 lines (44 loc) · 3.41 KB

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.

Project Status

The package is tested against Julia 0.6 and 0.7 on Linux, OS X, and Windows.