alpaqa
1.0.0a19
Nonconvex constrained optimization
|
Functions | |
bool | is_bound (const Box< config_t > &C, index_t i) |
void | add_bound_constr_to_constr_matrix (ladel_sparse_matrix &A, const Box< config_t > &C) |
Update the constraint matrix A, such that for each constraint C(i) with finite bounds, a row is inserted into A with a one in the i-th column. | |
void | combine_bound_constr (Box< config_t > &b, const Box< config_t > &C, const Box< config_t > &D, crvec g) |
For each constraint C(i) with finite bounds, insert these bounds into b(i), followed by all bounds D, shifted by g. | |
int | convert_symmetry (sparsity::Symmetry symmetry) |
Definition at line 18 of file qpalm-adapter.cpp.
void add_bound_constr_to_constr_matrix | ( | ladel_sparse_matrix & | A, |
const Box< config_t > & | C | ||
) |
Update the constraint matrix A, such that for each constraint C(i) with finite bounds, a row is inserted into A with a one in the i-th column.
The newly added rows are added above the original rows of A. For example, if all constraints have finite bounds, the resulting matrix is
Definition at line 31 of file qpalm-adapter.cpp.
void combine_bound_constr | ( | Box< config_t > & | b, |
const Box< config_t > & | C, | ||
const Box< config_t > & | D, | ||
crvec | g | ||
) |
For each constraint C(i) with finite bounds, insert these bounds into b(i), followed by all bounds D, shifted by g.
Definition at line 97 of file qpalm-adapter.cpp.
int convert_symmetry | ( | sparsity::Symmetry | symmetry | ) |
Definition at line 113 of file qpalm-adapter.cpp.