Title: | 'ROI' Access to 'MIPLIB' 2010 Benchmark Instances |
---|---|
Description: | The mixed integer programming library 'MIPLIB' (see <http://miplib.zib.de/>) is commonly used to compare the performance of mixed integer optimization solvers. This package provides functions to access 'MIPLIB' from the 'R' Optimization Infrastructure ('ROI'). More information about 'MIPLIB' can be found in the paper by Koch et al. available at <http://mpc.zib.de/index.php/MPC/article/viewFile/56/28>. The 'README.md' file illustrates how to use this package. |
Authors: | Florian Schwendinger [aut, cre], Stefan Theussl [aut] |
Maintainer: | Florian Schwendinger <[email protected]> |
License: | GPL-3 |
Version: | 1.0-0 |
Built: | 2024-09-10 03:53:55 UTC |
Source: | https://github.com/r-forge/roi |
MIPLIB
Get one or more optimization problems, meta information or a listing
of the available MIPLIB 2010
problems.
miplib(x, folder = system.file("roi_op", package = "ROI.models.miplib"))
miplib(x, folder = system.file("roi_op", package = "ROI.models.miplib"))
x |
a character giving the names of the optimization problems
to be returned, if |
folder |
the folder where the optimization problems are stored. |
The function miplib
searches in the given folder for
.rds
files and returns them.
## Not run: ## list all available MIPLIB-2010 problems miplib() ## get all miplib problems miplib("all") ## get a single problem miplib("rmine6") ## get the meta information miplib("metainfo") ## End(Not run)
## Not run: ## list all available MIPLIB-2010 problems miplib() ## get all miplib problems miplib("all") ## get a single problem miplib("rmine6") ## get the meta information miplib("metainfo") ## End(Not run)
The MIPLIB 2010
test problem set is downloaded and
transformed from the MPS
format into the ROI format.
The results are stored as '.rds'
files at the location provided
via the parameter folder
.
miplib_download_metinfo()
miplib_download_all( url = "http://miplib2010.zib.de/download/miplib2010-1.1.3-complete.tgz", folder = system.file("roi_op", package = "ROI.models.miplib"), method = NULL, quiet = TRUE, force = FALSE, cleanup = TRUE) miplib_download_benchmark( url = "http://miplib2010.zib.de/download/miplib2010-1.1.3-benchmark.tgz", folder = system.file("roi_op", package = "ROI.models.miplib"), method = NULL, quiet = TRUE, force = FALSE, cleanup = TRUE) miplib_download_metainfo( url = "http://miplib2010.zib.de/download/miplib2010_all.solu", folder = system.file("roi_op", package = "ROI.models.miplib"), force = FALSE)
miplib_download_all( url = "http://miplib2010.zib.de/download/miplib2010-1.1.3-complete.tgz", folder = system.file("roi_op", package = "ROI.models.miplib"), method = NULL, quiet = TRUE, force = FALSE, cleanup = TRUE) miplib_download_benchmark( url = "http://miplib2010.zib.de/download/miplib2010-1.1.3-benchmark.tgz", folder = system.file("roi_op", package = "ROI.models.miplib"), method = NULL, quiet = TRUE, force = FALSE, cleanup = TRUE) miplib_download_metainfo( url = "http://miplib2010.zib.de/download/miplib2010_all.solu", folder = system.file("roi_op", package = "ROI.models.miplib"), force = FALSE)
url |
a character giving the url to |
folder |
an optional character giving the location where the
|
method |
a character giving the method to be used for downloading
files, for more information see |
quiet |
a logical giving if status status messages should be suppressed. |
force |
a logical if |
cleanup |
a logical if |
miplib_download_all
download all MIPLIB-2010 instances (arround 1.3 GB).
miplib_download_benchmark
download the MIPLIB-2010 benchmark instances (arround 94 MB).
miplib_download_metinfo
download the available meta information.
## Not run: ## download all MIPLIB-2010 instances (arround 1.3 GB) miplib_download_all() ## or miplib_download_all(folder = "data/miplib") ## download MIPLIB-2010 benchmark instances (arround 94 MB) miplib_download_benchmark() ## or miplib_download_benchmark(folder = "data/miplib") ## download meta information miplib_download_metinfo() ## End(Not run)
## Not run: ## download all MIPLIB-2010 instances (arround 1.3 GB) miplib_download_all() ## or miplib_download_all(folder = "data/miplib") ## download MIPLIB-2010 benchmark instances (arround 94 MB) miplib_download_benchmark() ## or miplib_download_benchmark(folder = "data/miplib") ## download meta information miplib_download_metinfo() ## End(Not run)