miplib_download: Download the 'MIPLIB 2010' Test Problem Set

Description Usage Arguments Details Examples

View source: R/miplib.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
  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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## 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)

ROI.models.miplib documentation built on Aug. 31, 2020, 3:01 a.m.