Function scs_solve

Source
pub unsafe extern "C" fn scs_solve(
    w: *mut ScsWork,
    d: *const ScsData,
    k: *const ScsCone,
    sol: *mut ScsSolution,
    info: *mut ScsInfo,
) -> scs_int
Expand description

This solves the problem as defined by ScsData d and ScsCone k using the workspace in w. The solution is returned in sol and information about the solve is returned in info (outputs must have memory allocated before calling). None of the inputs can be NULL. You can call scs_solve many times for one call to scs_init, so long as the matrix A does not change (vectors b and c can change).