Rglpk is a package providing a Ruby wrapper to the [GNU GLPK]( library. The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. Rglpk (pronounced as "wriggle-pick") is currently in alpha status and the API should be considered subject to change. Rglpk uses [Swig]( to initially wrap the C GLPK library (using a Swig wrapper originally developed by Nigel Galloway) and then a pure Ruby library to wrap the Swig code in a more friendly OO-style. See [github]( for installation instructions. All bug reports, feature requests and patches are welcome. Enjoy!

installgem install rglpk

Alex Gutteridge, William Taysom

11,623 total downloads 1,994 for this version


gem 'rglpk', '~> 0.2.6'
  1. 0.2.6 January 2, 2012 (71 KB)
  2. 0.2.5 June 22, 2011 (70.5 KB)
  3. 0.2.4 November 3, 2010 (70.5 KB)
  4. 0.2.3 November 2, 2010 (70.5 KB)
  5. 0.2.2 October 24, 2010 (70.5 KB)
Show all versions (9 total)