| scs_control | R Documentation |
Details to the control parameters. The defaults are
those of the bundled SCS C library (see scs_version),
except verbose, which is FALSE here.
scs_control(
max_iters = 100000L,
eps_rel = 1e-04,
eps_abs = 1e-04,
eps_infeas = 1e-07,
alpha = 1.5,
rho_x = 1e-06,
scale = 0.1,
verbose = FALSE,
normalize = TRUE,
warm_start = FALSE,
acceleration_lookback = 10L,
acceleration_interval = 5L,
adaptive_scale = TRUE,
write_data_filename = NULL,
log_csv_filename = NULL,
time_limit_secs = 0,
adaptive_diag_scale = TRUE,
acceleration_type_1 = TRUE,
acceleration_regularization = 1e-08,
acceleration_relaxation = 1
)
max_iters |
an integer giving the maximum number of iterations (default is |
eps_rel |
a double specifying relative feasibility tolerance (default |
eps_abs |
a double specifying absolute feasibility tolerance (default |
eps_infeas |
a double specifying infeasibility tolerance (primal and dual) (default |
alpha |
a double giving the (Douglas-Rachford) over-relaxation parameter, allowed values are in (0, 2) (default |
rho_x |
a double giving the primal scale factor (default |
scale |
a double giving the initial dual scale factor (default |
verbose |
a logical giving if the progress should be printed (default is |
normalize |
a logical giving if heuristic data rescaling should be used (default is |
warm_start |
a logical indicating if a warm_start is provided (default |
acceleration_lookback |
a non-negative integer giving how much memory to use for Anderson acceleration (AA). More memory requires more time to compute but can give more reliable steps; |
acceleration_interval |
an integer; AA is applied every |
adaptive_scale |
a logical indicating whether to heuristically adapt the dual scale through the solve (default |
write_data_filename |
a string indicating filename to write problem data to (default |
log_csv_filename |
a string indicating filename where SCS will write csv logs of various quantities through the solver (default |
time_limit_secs |
a double indicating time limit for solve run in seconds; can be fractional (default |
adaptive_diag_scale |
a logical indicating whether to refine the scaling metric per row from the primal residual profile; requires |
acceleration_type_1 |
a logical; |
acceleration_regularization |
a double giving the Tikhonov regularization of the AA least-squares solve. A positive value is scaled by the Frobenius norms of the AA matrices, a negative value pins the absolute regularization at |
acceleration_relaxation |
a double in |
a list containing the control parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.