Settings
These settings control how SCS behaves during a solve. They are set in the ScsSettings struct.
Name 
Type 
Description 
Permitted values 
Default 



Whether to perform heuristic data rescaling. See Data equilibration. 
True/False 
1 


Initial dual scale factor, updated if 
\((0, \infty)\) 
0.1 


Whether to heuristically adapt dual 
True/False 
1 


Primal scale factor. See Nonidentity DR Scaling. 
\((0, \infty)\) 
1e6 


Maximum number of iterations to run. 
\(\mathbf{N}\) 
1e5 


Absolute feasibility tolerance, see Termination criteria. 
\((0, \infty)\) 
1e4 


Relative feasibility tolerance, see Termination criteria. 
\((0, \infty)\) 
1e4 


Infeasibility tolerance (primal and dual), see Certificate of infeasibility. 
\((0, \infty)\) 
1e7 


DouglasRachford relaxation parameter. See Relaxation. 
\((0, 2)\) 
1.5 


Time limit for solve run in seconds (can be fractional). 
\([0, \infty)\) 
0 


Whether to print solver output to stdout. 
True/False 
1 


Set to True if you initialize the solver with a guess of the solution. See Caching the workspace and warmstarts. This is overridden by the argument passed to 
True/False 
0 


How much memory to use for Anderson acceleration. More memory requires more time to compute but can give more reliable steps. 
\(\mathbf{N}\) 
10 


Run Anderson acceleration every 
\(\mathbf{N}\) 
10 


If this is set the problem data is dumped to this filename. 
Any filename 
NULL 


If this is set SCS will write csv logs of various quantities through the solver (makes the solver much slower). 
Any filename 
NULL 