View source: R/benchmark_suite.R
solnp_problems_table | R Documentation |
Returns a data.frame of known and registered test problems used with the SOLNP solver. The list includes problems from the Hock-Schittkowski suite as well as a selection of other classic optimization problems.
solnp_problems_table()
All problem functions are expected to follow the naming convention ‘Problem_problem’ (e.g., ‘hs01_problem’).
For Hock-Schittkowski problems, numbers range from 1 to 50, with a few selected extras (e.g., 110, 118, 119).
The “Other” suite includes named problems like ‘box’, ‘alkylation’, ‘entropy’, ‘garch’, etc., and are numbered sequentially.
A data.frame with the following columns:
A character string indicating the suite the problem belongs to. One of “Hock-Schittkowski” or “Other”.
The base name of the problem function (without the ‘_problem’ suffix).
An integer identifier used to index or request problems programmatically.
solnp_problem_suite()
# View all known problems
tail(solnp_problems_table())
# Filter only HS problems
head(subset(solnp_problems_table(), Suite == "Hock-Schittkowski"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.