ompr: Model and Solve Mixed Integer Linear Programs

Model mixed integer linear programs in an algebraic way directly in R. The model is solver-independent and thus offers the possibility to solve a model with different solvers. It currently only supports linear constraints and objective functions. See the 'ompr' website <> for more information, documentation and examples.

Version: 1.0.4
Depends: R (≥ 3.5.0)
Imports: lazyeval, rlang (≥ 0.2.0), listcomp (≥ 0.4.0), methods, data.table, Matrix, fastmap
Suggests: covr, magrittr, testthat
Published: 2023-09-09
DOI: 10.32614/CRAN.package.ompr
Author: Dirk Schumacher [aut, cre]
Maintainer: Dirk Schumacher <mail at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
In views: Optimization
CRAN checks: ompr results


Reference manual: ompr.pdf


Package source: ompr_1.0.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ompr_1.0.4.tgz, r-oldrel (arm64): ompr_1.0.4.tgz, r-release (x86_64): ompr_1.0.4.tgz, r-oldrel (x86_64): ompr_1.0.4.tgz
Old sources: ompr archive

Reverse dependencies:

Reverse imports: kantorovich, MultiplierDEA, ompr.roi, OTrecod, polyhedralCubature
Reverse suggests: signnet


Please use the canonical form to link to this page.