Replaces numerical values in an existing ECOS workspace without
repeating symbolic analysis. The sparsity structure must remain
the same; only the non-zero values of G and A, and the dense
vectors c, h, b can be updated. Pass NULL for any argument
to leave it unchanged.
ECOS_update(workspace, Gpr = NULL, Apr = NULL, c = NULL, h = NULL, b = NULL)the workspace object, invisibly.
an external pointer of class "ecos_workspace"
as returned by ECOS_setup.
numeric vector of new non-zero values for G (same length
as original), or NULL to keep current values.
numeric vector of new non-zero values for A (same length
as original), or NULL to keep current values.
numeric vector of new objective coefficients, or NULL.
numeric vector of new inequality RHS, or NULL.
numeric vector of new equality RHS, or NULL.
ECOS_setup, ECOS_solve,
ECOS_cleanup