solnp_problems_table {Rsolnp} | R Documentation |
List of Valid Test Problems for the SOLNP Suite
Description
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.
Usage
solnp_problems_table()
Details
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 64, 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.
Value
A data.frame with the following columns:
- Suite
A character string indicating the suite the problem belongs to. One of “Hock-Schittkowski” or “Other”.
- Problem
The base name of the problem function (without the ‘_problem’ suffix).
- Number
An integer identifier used to index or request problems programmatically.
See Also
Examples
# View all known problems
tail(solnp_problems_table())
# Filter only HS problems
head(subset(solnp_problems_table(), Suite == "Hock-Schittkowski"))