View source: R/260_zzz_R_specific_solver_opts.R
| solver_opts | R Documentation |
Constructs a structured list of solver options for use with
psolve and problem_data. Known parameters
are sorted into named slots; solver-specific parameters are collected
in $solver_specific.
solver_opts(
use_quad_obj = TRUE,
feastol = NULL,
reltol = NULL,
abstol = NULL,
num_iter = NULL,
...
)
use_quad_obj |
Logical. If |
feastol |
Feasibility tolerance (solver-agnostic). Translated to
solver-native name by internal mapping. |
reltol |
Relative tolerance. |
abstol |
Absolute tolerance. |
num_iter |
Maximum iterations. |
... |
Solver-specific parameters passed directly to the solver
(e.g., |
A named list with class "solver_opts".
solver_opts(feastol = 1e-6)
solver_opts(use_quad_obj = FALSE, eps_abs = 1e-7)
solver_opts(scip_params = list("limits/time" = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.