Learn R Programming

ROI.models.miplib (version 1.0-0)

miplib_download: Download the 'MIPLIB 2010' Test Problem Set

Description

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()

Usage

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)

Arguments

url

a character giving the url to MIPLIB 2010.

folder

an optional character giving the location where the MIPLIB 2010 test problem set should be downloaded to.

method

a character giving the method to be used for downloading files, for more information see download.file.

quiet

a logical giving if status status messages should be suppressed.

force

a logical if TRUE (default is FALSE) the download is forced, regardless if the metainfo was downloaded previously.

cleanup

a logical if TRUE (default is TRUE) the downloaded temporary files are deleted after the download an conversion is completed.

Details

  • 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.

Examples

Run this code
# 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()
# }

Run the code above in your browser using DataLab