miplib: Access the Downloaded 'MIPLIB'

Description Usage Arguments Details Examples

View source: R/miplib.R

Description

Get one or more optimization problems, meta information or a listing of the available MIPLIB 2010 problems.

Usage

1
miplib(x, folder = system.file("roi_op", package = "ROI.models.miplib"))

Arguments

x

a character giving the names of the optimization problems to be returned, if x is "all" all available problems are returned, if x is the name of a single problem the given problem is returned. If x is missing a listing of all available problems is returned. If x is "metainfo" the meta information about the problems is returned.

folder

the folder where the optimization problems are stored.

Details

The function miplib searches in the given folder for .rds files and returns them.

Examples

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

ROI.models.miplib documentation built on May 2, 2019, 3:11 p.m.