GLPK

Welcome to the Wikibook about GLPK, the GNU Linear Programming Kit for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. GLPK is free software and licensed under the GNU General Public License 3.

This Wikibook also covers a number of related initiatives (for instance, cross-platform model editors) which have clustered around the mainline GLPK project.

This book was started in June 2010 and is currently under construction. Your participation in the writing and editing of the GLPK wikibook is highly appreciated. If you have any idea as to how this book can be improved, please place your suggestion in the /Task List/.

You can search this book. You can search the GLPK mailing list archives. You can chat about GLPK at [ircs://chat.freenode.net:6697/glpk ircs://chat.freenode.net:6697/glpk].

Table of Contents

 * 1) /Introduction/ [[Image:50%.svg]]
 * 2) /Reviews and benchmarks/ [[Image:50%.svg]]
 * 3) /Obtaining GLPK/ [[Image:50%.svg]]
 * 4) /Compiling GLPK/ [[Image:50%.svg]]
 * 5) /Windows/ [[Image:50%.svg]]
 * 6) /Mac OS X/ [[File:00%.svg]]
 * 7) /Linux OS/ [[Image:100%.svg]]
 * 8) /Solaris OS/ [[File:00%.svg]]
 * 9) /Cross Compilation/ [[Image:25%.svg]]
 * 10) /Precompiled options/ [[Image:25%.svg]]
 * 11) /Windows executables/ [[Image:50%.svg]]
 * 12) /Mac OS X packages/ [[Image:25%.svg]]
 * 13) /Linux packages/ [[Image:50%.svg]]
 * 14) /Android app/ [[Image:25%.svg]]
 * 15) /GMPL (MathProg)/ [[Image:50%.svg]]
 * 16) /Using GLPSOL/ [[Image:25%.svg]]
 * 17) /Using GMPL (MathProg)/ [[Image:25%.svg]]
 * 18) /Steps of GMPL File Processing/ [[Image:25%.svg]]
 * 19) Modeling logical constraints [[Image:50%.svg]]
 * 20) Modeling Lower and Upper Bounds [[Image:50%.svg]]
 * 21) Conditional Constraints [[Image:100%.svg]]
 * 22) /Scripting plus MathProg/ [[Image:50%.svg]]
 * 23) /Output to GMPL data file/ [[Image:50%.svg]]
 * 24) ODBC (database) connectivity [[Image:50%.svg]]
 * 25) /Table Statement/ [[Image:50%.svg]]
 * 26) /Graphical Output/ [[Image:50%.svg]]
 * 27) /Scalable Vector Graphics/ [[Image:100%.svg]]
 * 28) /Gnuplot/ [[Image:75%.svg]]
 * 29) /GMPL Workarounds/ [[Image:25%.svg]]
 * 30) GMPL (MathProg) examples [[Image:25%.svg]]
 * 31) /Knapsack Problem/ [[File:100%.svg]]
 * 32) /Electricity markets/ [[Image:50%.svg]]
 * 33) /Energy modeling/ [[Image:50%.svg]]
 * 34) /Portfolio Optimization/ [[File:100%.svg]]
 * 35) /Unix Batch Execution/
 * 36) /GLPK IDEs/ [[Image:50%.svg]]
 * 37) Cross-platform IDEs [[Image:25%.svg]]
 * 38) /Windows IDEs/ [[Image:25%.svg]]
 * 39) /Mac OS X IDEs/ [[Image:50%.svg]]
 * 40) /Linux IDEs/ [[File:00%.svg]]
 * 41) /Terminal output/ [[Image:75%.svg]]
 * 42) /Solution information/ [[Image:50%.svg]]
 * 43) /Scaling/ [[Image:50%.svg]]
 * 44) Add-ons and extensions [[Image:50%.svg]]
 * 45) Language bindings [[Image:50%.svg]]
 * 46) Ada [[Image:25%.svg]]
 * 47) C/C++ [[File:100%.svg]]
 * 48) C# [[Image:50%.svg]]
 * 49) F# [[Image:25%.svg]]
 * 50) Fortran [[Image:50%.svg]]
 * 51) GAMS [[Image:25%.svg]]
 * 52) Go [[Image:25%.svg]]
 * 53) Haskell [[Image:25%.svg]]
 * 54) Java [[Image:50%.svg]]
 * 55) JavaScript [[Image:00%.svg]]
 * 56) Julia [[Image:50%.svg]]
 * 57) Matlab [[Image:50%.svg]]
 * 58) Node.js [[Image:25%.svg]]
 * 59) Octave [[Image:50%.svg]]
 * 60) OCaml [[Image:25%.svg]]
 * 61) OptimJ [[Image:25%.svg]]
 * 62) Python [[Image:50%.svg]]
 * 63) R [[Image:50%.svg]]
 * 64) Ruby [[Image:25%.svg]]
 * 65) Rust [[Image:25%.svg]]
 * 66) Visual Basic for Applications (VBA)  [[Image:25%.svg]]
 * 67) Visual Basic .NET  [[Image:25%.svg]]
 * 68) /Using the GLPK callable library/ [[Image:50%.svg]]
 * 69) /Compiling with the GLPK library/ [[Image:25%.svg]]
 * 70) /Error handling/ [[Image:25%.svg]]
 * 71) /Callback functions/ [[Image:25%.svg]]
 * 72) API usage for common tasks [[Image:25%.svg]]
 * 73) /Third-party API wrappers/ [[Image:50%.svg]]
 * 74) /IAJAAR.H project/ [[Image:50%.svg]]
 * 75) /Application projects utilizing GLPK/ [[Image:50%.svg]]
 * 76) /Mixing GLPK with other solver packages/ [[Image:50%.svg]]
 * 77) /Modeling tips/ [[Image:50%.svg]]
 * 78) /Known issues/ [[Image:25%.svg]]
 * 79) /Troubleshooting/ [[Image:50%.svg]]
 * 80) /Interoperability/ [[Image:75%.svg]]
 * 81) /GLPK file extensions/ [[Image:50%.svg]]
 * 82) /Background theory/ [[Image:50%.svg]]
 * 83) /Academic sites and public blogs/ [[Image:25%.svg]]
 * 84) /Literature/ [[Image:50%.svg]]
 * 85) FAQ (circa 2003) [[Image:50%.svg]]
 * 86) /License/ [[File:100%.svg]]
 * 87) Help-GLPK and Bug-GLPK searchable archive [[File:100%.svg]]
 * 88) /Sandbox (for content under development)/