The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

glpsol: Bundled 'GLPK' Solver for 'MathProg', 'LP' and 'MPS' Models

Ships the 'glpsol' stand-alone solver of the GNU Linear Programming Kit ('GLPK') with R and runs it as a separate process with a time limit and an optional live log. 'glpsol' reads 'MathProg' ('GMPL') models with separate data files, 'CPLEX' LP and MPS files, and solves them with the simplex, interior-point or branch-and-cut methods, writing the solution to a file. Windows and macOS binary builds carry a static copy of 'GLPK'; other platforms link against the system library.

Version: 0.1.0
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-10-16
DOI: 10.32614/CRAN.package.glpsol
Author: Oleg Lugovoy ORCID iD [aut, cre], Free Software Foundation, Inc. [cph] (src/glpk/glpsol.c from 'GLPK' 5.0, see inst/COPYRIGHTS)
Maintainer: Oleg Lugovoy <olugovoy at optimalsolution.dev>
BugReports: https://github.com/optimal2050/glpsol/issues
License: GPL-3
Copyright: see file COPYRIGHTS
URL: https://optimal2050.github.io/glpsol/, https://github.com/optimal2050/glpsol
NeedsCompilation: yes
SystemRequirements: GLPK (>= 5.0): libglpk-dev (deb), glpk-devel (rpm), glpk (brew)
Materials: README, NEWS
CRAN checks: glpsol results

Documentation:

Reference manual: glpsol.html , glpsol.pdf
Vignettes: Solving MathProg, LP and MPS models with glpsol (source, R code)

Downloads:

Package source: glpsol_0.1.0.tar.gz
Windows binaries: r-devel: glpsol_0.1.0.zip, r-release: glpsol_0.1.0.zip, r-oldrel: glpsol_0.1.0.zip
macOS binaries: r-release (arm64): glpsol_0.1.0.tgz, r-oldrel (arm64): glpsol_0.1.0.tgz, r-release (x86_64): glpsol_0.1.0.tgz, r-oldrel (x86_64): glpsol_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=glpsol to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.