Problem data scaling during setup.
This file includes the routine that is called during setup to scale the problem data, and initial guesses if the problem is warm-started. Scaling the problem is useful to prevent large changes in the active set and to guard against ill-conditioning in the objective function.
Definition in file scaling.c.
Go to the source code of this file.
Functions | |
void | limit_scaling (c_float *D, size_t n) |
void | scale_data (QPALMWorkspace *work) |
Scale problem matrices. More... | |
void | unscale_data (QPALMWorkspace *work) |
Unscale the problem data. More... | |
void limit_scaling | ( | c_float * | D, |
size_t | n | ||
) |
void scale_data | ( | QPALMWorkspace * | work | ) |
Scale problem matrices.
Ruiz scaling [4] is applied to the constraint matrix A. This means that the rows and columns of A are scaled elementwise by the square root of their infinity norm, and this for a number of work->settings->scaling iterations. The resulting scaling can be written as
work | Workspace |
Definition at line 31 of file scaling.c.
void unscale_data | ( | QPALMWorkspace * | work | ) |