Crate scs

Source

Structs§

AaWork
ScsAccelWork
ScsCone
ScsConeWork
ScsData
ScsInfo
ScsLinSysWork
ScsMatrix
ScsResiduals
ScsScaling
ScsSettings
ScsSolution
ScsWork

Functions§

aa_apply
aa_finish
aa_init
scs
Convenience method that simply calls all the above routines in order, for cases where the workspace does not need to be reused. All inputs must have memory allocated before this call.
scs_finish
Called after all solves completed to free allocated memory and other cleanup.
scs_init
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.
scs_solve
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).
scs_version
Get the SCS version.

Type Aliases§

scs_int