#include "glbopts.h"
#include <string.h>
#include "cones.h"
#include "linAlg.h"
#include "linSys.h"
#include "util.h"
#include "ctrlc.h"
#include "constants.h"
#include <math.h>
#include <stdio.h>
#include "scs_blas.h"
Go to the source code of this file.
| #define SCS_INFO_STATUS_MSG_LENGTH 32 |
scs calls scs_init, scs_solve, and scs_finish
- Parameters
-
- Returns
- status code
Creates a new ScsData structure without allocating memory for \(A\), \(b\) and \(c\) and its sets all settings to their default values, that is
- alpha = 0.5
- c0 = 0.999
- c1 = ...
- Returns
- ScsData object
- See Also
- scs_set_default_settings
Creates a new empty ScsInfo structure which is then provided to scs to get information about the status of the algorithm (e.g., the duality gap, the solution status, etc).
- Returns
- Initialized ScsInfo structure.
Creates a new empty solution structure which is to be used to retrieve the solution \((x^\star, y^\star, s^\star)\).
This function does not initialize of allocate memory for x, s or y (but it sets the respective pointers to SCS_NULL).
- Returns
- Initialized ScsSolution structure.
Converts milliseconds to a 00:00:00.0 time format.
- Parameters
-
| time | given elapsed time in milliseconds |
| hours | hours |
| minutes | minutes |
| secs | seconds |
| sec_rest | remaining time in seconds (positive and smaller than 1) |
| const char* scs_version |
( |
void |
| ) |
|
Returns the version of SCS
- Returns