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.
MILPModel, a new, vectorized backend for mixed integer linear programs that can handle very large models. It will eventually replace
get_row_duals) to extract the dual (column and row) values from an LP.
get_solutionnow always return a solution, even if the solution status is not optimal.
get_solutionhas a third argument
typewith permitted values being "primal" and "dual" to return the respective column primal or dual values.
omprnow uses sparse constraint matrices.
extract_constraintsnow returns a sparse matrix and
objective_functionreturns a sparse vector.
Rcpp. The minimum
Rcppversion is now