Calls ECOS_solve on an existing workspace created by ECOS_setup. The workspace can be solved multiple times, optionally with ECOS_update calls in between to change numerical data.

ECOS_solve(workspace, control = NULL)

Arguments

workspace

an external pointer of class "ecos_workspace" as returned by ECOS_setup.

control

optional named list of solver parameters (see ecos.control). If NULL (the default), the settings from ECOS_setup (or the most recent ECOS_solve call with non-NULL control) are reused.

Value

the same result list as ECOS_csolve.