Sha256: 5b3b879b2badec468c5e386797e4a224d335751278ee2ac35ce997ec0b8acfa3
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
#ifndef CONES_H_GUARD #define CONES_H_GUARD #ifdef __cplusplus extern "C" { #endif #include "glbopts.h" #include "scs.h" #include "scs_blas.h" /* private data to help cone projection step */ struct SCS_CONE_WORK { /* * cone_boundaries will contain array of indices of rows of A corresponding to * cone boundaries, boundaries[0] is starting index for cones of size larger * than 1 */ scs_float *s; /* used for Moreau decomposition in projection */ scs_int cone_len; /* box cone quantities */ scs_float *bl, *bu, box_t_warm_start; #ifdef USE_LAPACK /* workspace for eigenvector decompositions: */ scs_float *Xs, *Z, *e, *work; blas_int lwork; #endif }; ScsConeWork *SCS(init_cone)(const ScsCone *k, const ScsScaling *scal, scs_int cone_len); char *SCS(get_cone_header)(const ScsCone *k); scs_int SCS(validate_cones)(const ScsData *d, const ScsCone *k); scs_int SCS(set_cone_boundaries)(const ScsCone *k, scs_int **cone_boundaries); scs_int SCS(proj_dual_cone)(scs_float *x, const ScsCone *k, ScsConeWork *c, scs_int normalize); void SCS(finish_cone)(ScsConeWork *c); void SCS(set_rho_y_vec)(const ScsCone *k, scs_float scale, scs_float *rho_y_vec, scs_int m); #ifdef __cplusplus } #endif #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scs-0.3.1 | vendor/scs/include/cones.h |
scs-0.3.0 | vendor/scs/include/cones.h |