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


News

ompr 0.7.0

Breaking changes

  • ompr now uses sparse constraint matrices. extract_constraints now returns a sparse matrix and objective_function returns a sparse vector.
  • The minimum supported R version is now 3.3.0
  • Fixed an issue with Rcpp. The minimum Rcpp version is now 0.12.12

Minor changes

  • New progress bar based on the progress package.

ompr 0.6.0

  • First version on CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ompr")

0.8.0 by Dirk Schumacher, 13 days ago


https://github.com/dirkschumacher/ompr


Report a bug at https://github.com/dirkschumacher/ompr/issues


Browse source code at https://github.com/cran/ompr


Authors: Dirk Schumacher [aut, cre]


Documentation:   PDF Manual  


Task views: Optimization and Mathematical Programming


GPL-3 license


Imports lazyeval, progress, rlang, methods, data.table, Rcpp, Matrix

Suggests magrittr, testthat

Linking to Rcpp


Imported by ompr.roi.


See at CRAN