Description Usage Arguments Details References Examples

If x is missing a `character`

vector giving the names of all available problems is
returned. If x is `"all"`

a `list`

containing all the optimization problems
is returned. If x is the name of an optimization problem, the given optimization
problem is returned. If x is `"metainfo"`

a `data.frame`

containing all the
meta info is returned.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
netlib(x=c("all", "metainfo", "adlittle", "afiro", "agg", "agg2",
"agg3", "bandm", "beaconfd", "blend", "bnl1", "bnl2",
"boeing1", "boeing2", "bore3d", "brandy", "capri", "cycle",
"czprob", "d2q06c", "d6cube", "degen2", "degen3", "dfl001",
"e226", "etamacro", "fffff800", "finnis", "fit1d", "fit1p",
"fit2d", "fit2p", "forplan", "ganges", "gfrd.pnc", "greenbea",
"greenbeb", "grow15", "grow22", "grow7", "israel", "kb2",
"lotfi", "maros.r7", "maros", "modszk1", "nesm", "perold",
"pilot.ja", "pilot", "pilot.we", "pilot4", "pilot87",
"pilotnov", "recipe", "sc105", "sc205", "sc50a", "sc50b",
"scagr25", "scagr7", "scfxm1", "scfxm2", "scfxm3", "scorpion",
"scrs8", "scsd1", "scsd6", "scsd8", "sctap1", "sctap2", "sctap3",
"seba", "share1b", "share2b", "shell", "ship04l", "ship04s", "ship08l",
"ship08s", "ship12l", "ship12s", "sierra", "stair",
"standata", "standmps", "stocfor1", "stocfor2", "stocfor3",
"truss", "tuff", "vtp.base", "wood1p", "woodw","x25fv47", "x80bau3b"))
``` |

`x` |
a character giving the name of the optimization problem to be returned. |

Netlib is a software repository, which amongst many other software for
scientific computing contains a collection of linear programming
problems. The column `optimal\_value`

contains the
results published in `Koch (2004)`

.

`[NETLIB-LP]`

Koch, Thorsten (2004)
The final NETLIB-LP results.
Operations Research Letters
https://opus4.kobv.de/opus4-zib/files/727/ZR-03-05.pdf

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ```
## Not run:
library(ROI)
library(ROI.models.netlib)
## list all available problems
netlib()
## get all problems as a list
ntlb <- netlib("all")
## get a certain problem by name
netlib("afiro")
ntlb[["afiro"]]
## get the meta info to the problems
netlib("metainfo")
## solve a problem
sol <- ROI_solve(netlib("afiro"))
sol
sol$objval - as.numeric(netlib("metainfo")["afiro", "final_results"])
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.