Function scs_init

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

This initializes the ScsWork struct containing the workspace that scs will use, and performs the necessary preprocessing (e.g. matrix factorization). All inputs d, k, and info must be memory allocated before calling.