The following contains additional information for the installation of ROI and its companion packages.

ROI

Since ROI has no dependencies to external system and only imports libraries written in base R, the installation via install.packages("ROI") should be sufficient on any platform.

ROI plug-ins

ROI.plugin.alabama

install.packages("ROI.plugin.alabama")

ROI.plugin.cbc

Unix

ROI.plugin.cbc it self doesn’t contain compiled code but it imports rcbc. The rcbc package requires the cbc and the clp library to be installed before the installation of rcbc. Depending on the distribution, these libraries may be installed via one of the following commands.

Debian, Ubuntu, Mint and other Debian based distributions

sudo apt-get install coinor-libcbc-dev coinor-libclp-dev

Red Hat Enterprise Linux, Fedora, CentOS and similar distributions

sudo yum install coin-or-Cbc-devel coin-or-Clp-devel

macOS

brew tap coin-or-tools/coinor
brew install cbc

After the installation of the required libraries rcbc and ROI.plugin.cbc may be installed as usual.

remotes::install_github("dirkschumacher/rcbc")
remotes::install_github("dirkschumacher/ROI.plugin.cbc")

Windows

devtools::install_github("dirkschumacher/rcbc")
devtools::install_github("dirkschumacher/ROI.plugin.cbc")

ROI.plugin.clp

install.packages("ROI.plugin.clp")

ROI.plugin.cplex

install.packages("ROI.plugin.cplex")

ROI.plugin.deoptim

install.packages("ROI.plugin.deoptim")

ROI.plugin.ecos

install.packages("ROI.plugin.ecos")

ROI.plugin.glpk

ROI.plugin.glpk it self doesn’t contain compiled code but it imports Rglpk. The Rglpk package requires the linear programming kit - development files to be installed before the installation of Rglpk. Depending on the distribution, the linear programming kit - development files may be installed via one of the following commands.

Unix

Debian, Ubuntu, Mint and other Debian based distributions

sudo apt-get install libglpk-dev

Red Hat Enterprise Linux, Fedora, CentOS and similar distributions

yum install glpk-devel

macOS

brew install glpk

After the installation of the linear programming kit - development files Rglpk and ROI.plugin.glpk may be installed as usual.

install.packages("ROI.plugin.glpk")

Windows

install.packages("ROI.plugin.glpk")

ROI.plugin.gurobi

ROI.plugin.gurobi imports the gurobi package which is available at http://www.gurobi.com. Since the gurobi package is not on CRAN ROI.plugin.gurobi is also not available on CRAN.

remotes:::install_gitlab("roigrp/solver/ROI.plugin.gurobi")

ROI.plugin.ipop

install.packages("ROI.plugin.ipop")

ROI.plugin.lpsolve

install.packages("ROI.plugin.lpsolve")

ROI.plugin.mosek

ROI.plugin.mosek imports the Rmosek package which is available at http://www.mosek.com. There is also an Rmosek version on CRAN but since the Rmosek version on CRAN is very old we recommend to install the version available from http://www.mosek.com.

remotes:::install_gitlab("roigrp/solver/ROI.plugin.mosek", INSTALL_opts = "--no-multiarch")

ROI.plugin.msbinlp

install.packages("ROI.plugin.msbinlp")

ROI.plugin.neos

Unix

ROI.plugin.neos it self doesn’t contain compiled code but it imports xml2 and curl. The xml2 package requires that the libxml2 development library is installed. Depending on the distribution, this library may is installed via one of the following commands.

Unix

Debian, Ubuntu, Mint and other Debian based distributions

sudo apt-get install libxml2-dev 

Red Hat Enterprise Linux, Fedora, CentOS and similar distributions

sudo yum install libxml2-devel

macOS

After the installation of the the libxml2 development libraries xml2 may be installed as usual.

install.packages("xml2")

The curl package requires that the curl development library is installed. Depending on the distribution, this library may is installed via one of the following commands.

Unix

Debian, Ubuntu, Mint and other Debian based distributions

sudo apt-get install libcurl4-openssl-dev

Red Hat Enterprise Linux, Fedora, CentOS and similar distributions

sudo yum install libcurl-devel

macOS

After the installation of the the libxml2 development libraries xmle can be installed.

install.packages("curl")

After the curl and xml2 packages are installed ROI.plugin.neos can be installed.

install.packages("ROI.plugin.neos")

Windows

install.packages("ROI.plugin.neos")

ROI.plugin.nloptr

install.packages("ROI.plugin.nloptr")

ROI.plugin.optimx

install.packages("ROI.plugin.optimx")

ROI.plugin.qpoases

install.packages("ROI.plugin.qpoases")

ROI.plugin.quadprog

install.packages("ROI.plugin.quadprog")

ROI.plugin.scs

install.packages("ROI.plugin.scs")

ROI.plugin.symphony

Unix

ROI.plugin.symphony it self doesn’t contain compiled code but it imports Rsymphony. The Rsymphony package requires the SYMPHONY libraries and headers to be installed before the installation of Rsymphony. Depending on the distribution, the SYMPHONY libraries and headers may be installed via one of the following commands.

Debian, Ubuntu, Mint and other Debian based distributions

sudo apt install coinor-libsymphony-dev

Red Hat Enterprise Linux, Fedora, CentOS and similar distributions

sudo yum install coin-or-SYMPHONY-devel

macOS

brew tap coin-or-tools/coinor
brew install symphony

After the installation of the SYMPHONY libraries and headers ROI.plugin.symphony may be installed as usual.

install.packages("ROI.plugin.symphony")

Windows

install.packages("ROI.plugin.symphony")

ROI models

ROI.models.netlib

install.packages("ROI.models.netlib")

ROI.models.miplib

install.packages("ROI.models.miplib")
library("ROI.models.miplib")
miplib_download_metainfo("http://miplib2010.zib.de/download/miplib2010_all.solu")
miplib_download_benchmark("http://miplib2010.zib.de/download/miplib2010-1.1.3-benchmark.tgz",
    quiet = FALSE)