Skip to content

ompr

1.0.4

Model and Solve Mixed Integer Linear Programs

5packages depend
30.8Kdownloads / year
96.5%test coverage
13/13checks pass

Overview

About
Maintained by Dirk SchumacherFirst published 2017-04-179 releasesCRAN page ↗GitHub ↗

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 https://dirkschumacher.github.io/ompr/ for more information, documentation and examples.

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.98
96.5%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 508 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
71%
Documented parameters
100%
Return-value docs
71%
References docs
0%

Downloads

30.8K
CRAN downloads in the past year
Rank #3,284 · ~84/day · ~2.6K/mo
Daily download trend is not available in this view yet.
1.1K30 days
3.7K90 days
30.8K1 year
Compare downloads with other packages →
Also on5.7K r2u19 autocran103 c2d4u

Repository

Repository
281Stars
33Forks
30Open issues
0Open PRs
9Releases
585Commits
4Contributors
integer-programminglinear-programmingrmipmilpoptimization
585 commits · Last activity 2023-09-09 · 0% stars, 30d

Stars over time

2025-06-28 · 2712026-07-07 · 281

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/dirkschumacher/ompr on 2026-07-26.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Research and citation (1)
CITATION.cff
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.4Latest
    2023-09-09 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.3
    2022-09-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.2
    2022-01-31 · diff ↗
  • 1.0.1
    2022-01-26 · diff ↗
  • 1.0.0
    2022-01-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.8.1
    2020-12-04 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.8.0
    2018-06-11 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 4 earlier events
  • 0.7.0
    2017-11-18 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.6.0
    2017-04-17
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-04-17
Total releases
9 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
46 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →