83 casadi_int* sz_iw, casadi_int* sz_w,
int sz_anderson_memory) {
85 casadi_int nnz_h, nnz_a, nx, ng;
123 if (sz_anderson_memory > 0) {
125 *sz_w += sz_anderson_memory*nx;
127 *sz_w += sz_anderson_memory*nx;
129 *sz_w += sz_anderson_memory;
151 template<
typename T1>
153 casadi_int** iw, T1** w,
int sz_anderson_memory) {
155 casadi_int nnz_h, nnz_a, nx, ng;
166 d->
gLag = *w; *w += nx;
169 d->
Bk = *w; *w += nnz_h;
180 d->
gf = *w; *w += nx;
182 d->
lbdz = *w; *w += nx + ng;
183 d->
ubdz = *w; *w += nx + ng;
185 d->
dx = *w; *w += nx;
186 d->
dlam = *w; *w += nx + ng;
191 d->
z_feas = *w; *w += nx + ng;
197 d->
z_tmp = *w; *w += sz_anderson_memory*nx+ng;
202 d->
Jk = *w; *w += nnz_a;
206 d->
gamma = *w; *w += sz_anderson_memory;
const casadi_feasiblesqpmethod_prob< T1 > * prob
T1 * anderson_memory_iterate
T1 * anderson_memory_step
const casadi_nlpsol_prob< T1 > * nlp