Home
last modified time | relevance | path

Searched refs:d_nlp (Results 1 – 14 of 14) sorted by relevance

/dports/math/casadi/casadi-3.5.5/casadi/solvers/
H A Dqrsqp.cpp290 auto d_nlp = &m->d_nlp; in solve() local
315 m->arg[0] = d_nlp->z; in solve()
316 m->arg[1] = d_nlp->p; in solve()
317 m->res[0] = &d_nlp->f; in solve()
319 m->res[2] = d_nlp->z + nx_; in solve()
329 double pr_inf = casadi_max_viol(nx_+ng_, d_nlp->z, d_nlp->lbz, d_nlp->ubz); in solve()
375 m->arg[0] = d_nlp->z; in solve()
376 m->arg[1] = d_nlp->p; in solve()
426 double l1_infeas = casadi_max_viol(nx_+ng_, d_nlp->z, d_nlp->lbz, d_nlp->ubz); in solve()
468 m->arg[1] = d_nlp->p; in solve()
[all …]
H A Dscpgen.cpp752 auto d_nlp = &m->d_nlp; in solve() local
848 if (d_nlp->f!=d_nlp->f || m->pr_step != m->pr_step || pr_inf != pr_inf) { in solve()
893 auto d_nlp = &m->d_nlp; in primalInfeasibility() local
897 pr_inf += casadi_sum_viol(nx_+ng_, d_nlp->z, d_nlp->lbz, d_nlp->ubz); in primalInfeasibility()
931 auto d_nlp = &m->d_nlp; in printIteration() local
966 auto d_nlp = &m->d_nlp; in eval_mat() local
1012 auto d_nlp = &m->d_nlp; in eval_res() local
1051 auto d_nlp = &m->d_nlp; in eval_vec() local
1124 auto d_nlp = &m->d_nlp; in solve_qp() local
1166 auto d_nlp = &m->d_nlp; in line_search() local
[all …]
H A Dsqpmethod.cpp327 auto d_nlp = &m->d_nlp; in solve() local
355 m->arg[0] = d_nlp->z; in solve()
356 m->arg[1] = d_nlp->p; in solve()
357 m->res[0] = &d_nlp->f; in solve()
359 m->res[2] = d_nlp->z + nx_; in solve()
379 double pr_inf = casadi_max_viol(nx_+ng_, d_nlp->z, d_nlp->lbz, d_nlp->ubz); in solve()
426 m->arg[0] = d_nlp->z; in solve()
427 m->arg[1] = d_nlp->p; in solve()
490 double l1_infeas = casadi_sum_viol(nx_+ng_, d_nlp->z, d_nlp->lbz, d_nlp->ubz); in solve()
513 m->arg[1] = d_nlp->p; in solve()
[all …]
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/ipopt/
H A Dipopt_interface.cpp414 auto d_nlp = &m->d_nlp; in solve() local
465 if (d_nlp->lam[i]>0 && d_nlp->ubz[i] - d_nlp->z[i] > margin) d_nlp->lam[i]=0; in solve()
466 if (d_nlp->lam[i]<0 && d_nlp->z[i] - d_nlp->lbz[i] > margin) d_nlp->lam[i]=0; in solve()
479 auto d_nlp = &m->d_nlp; in intermediate_callback() local
549 auto d_nlp = &m->d_nlp; in finalize_solution() local
552 casadi_copy(x, nx_, d_nlp->z); in finalize_solution()
555 d_nlp->f = obj_value; in finalize_solution()
559 d_nlp->lam[i] = z_U[i]-z_L[i]; in finalize_solution()
579 auto d_nlp = &m->d_nlp; in get_bounds_info() local
596 auto d_nlp = &m->d_nlp; in get_starting_point() local
[all …]
H A Dipopt_nlp.cpp90 mem_->arg[1] = mem_->d_nlp.p; in eval_f()
98 mem_->arg[1] = mem_->d_nlp.p; in eval_grad_f()
107 mem_->arg[1] = mem_->d_nlp.p; in eval_g()
119 mem_->arg[1] = mem_->d_nlp.p; in eval_jac_g()
149 mem_->arg[1] = mem_->d_nlp.p; in eval_h()
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/knitro/
H A Dknitro_interface.cpp174 auto d_nlp = &m->d_nlp; in solve() local
234 casadi_copy(d_nlp->lbz, nx_, m->wlbx); in solve()
235 casadi_copy(d_nlp->ubz, nx_, m->wubx); in solve()
322 d_nlp->f = f; in solve()
326 m->arg[0] = d_nlp->z; in solve()
327 m->arg[1] = d_nlp->p; in solve()
329 m->res[1] = d_nlp->z + nx_; in solve()
349 auto d_nlp = &m->d_nlp; in callback() local
354 m->arg[1] = d_nlp->p; in callback()
361 m->arg[1] = d_nlp->p; in callback()
[all …]
/dports/math/casadi/casadi-3.5.5/casadi/core/
H A Dnlpsol.cpp470 auto d_nlp = &m->d_nlp; in check_inputs() local
482 double lb = d_nlp->lbz[i]; in check_inputs()
484 double x0 = d_nlp->z[i]; in check_inputs()
558 auto d_nlp = &m->d_nlp; in eval() local
561 d_nlp->p = arg[NLPSOL_P]; in eval()
594 d_nlp->f = nan; in eval()
612 m->arg[0] = d_nlp->z; in eval()
613 m->arg[1] = d_nlp->p; in eval()
629 bound_consistency(nx_+ng_, d_nlp->z, d_nlp->lam, d_nlp->lbz, d_nlp->ubz); in eval()
654 m->d_nlp.prob = &p_nlp_; in set_work()
[all …]
H A Dnlpsol_impl.hpp40 casadi_nlpsol_data<double> d_nlp; member
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/bonmin/
H A Dbonmin_interface.cpp392 auto d_nlp = &m->d_nlp; in solve() local
493 auto d_nlp = &m->d_nlp; in intermediate_callback() local
509 casadi_copy(x, nx_, d_nlp->z); in intermediate_callback()
565 auto d_nlp = &m->d_nlp; in finalize_solution() local
568 casadi_copy(x, nx_, d_nlp->z); in finalize_solution()
571 d_nlp->f = obj_value; in finalize_solution()
598 auto d_nlp = &m->d_nlp; in get_bounds_info() local
600 casadi_copy(d_nlp->lbz, nx_, x_l); in get_bounds_info()
601 casadi_copy(d_nlp->ubz, nx_, x_u); in get_bounds_info()
615 auto d_nlp = &m->d_nlp; in get_starting_point() local
[all …]
H A Dbonmin_nlp.cpp73 mem_->arg[1] = mem_->d_nlp.p; in eval_f()
81 mem_->arg[1] = mem_->d_nlp.p; in eval_grad_f()
90 mem_->arg[1] = mem_->d_nlp.p; in eval_g()
102 mem_->arg[1] = mem_->d_nlp.p; in eval_jac_g()
132 mem_->arg[1] = mem_->d_nlp.p; in eval_h()
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/blocksqp/
H A Dblocksqp.cpp637 auto d_nlp = &m->d_nlp; in solve() local
999 auto d_nlp = &m->d_nlp; in calcOptTol() local
1111 auto d_nlp = &m->d_nlp; in acceptStep() local
1153 auto d_nlp = &m->d_nlp; in reduceSOCStepsize() local
1181 auto d_nlp = &m->d_nlp; in fullstep() local
1219 auto d_nlp = &m->d_nlp; in filterLineSearch() local
1335 auto d_nlp = &m->d_nlp; in secondOrderCorrection() local
1436 auto d_nlp = &m->d_nlp; in feasibilityRestorationPhase() local
1638 auto d_nlp = &m->d_nlp; in feasibilityRestorationHeuristic() local
1656 auto d_nlp = &m->d_nlp; in kktErrorReduction() local
[all …]
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/snopt/
H A Dsnopt_interface.cpp293 auto d_nlp = &m->d_nlp; in solve() local
302 m->arg[0] = d_nlp->z; in solve()
303 m->arg[1] = d_nlp->p; in solve()
347 casadi_copy(d_nlp->lbz, nx_+ng_, get_ptr(m->bl)); in solve()
354 casadi_copy(d_nlp->z, nx_, get_ptr(m->xx)); in solve()
421 casadi_copy(get_ptr(m->xx), nx_, d_nlp->z); in solve()
424 casadi_copy(get_ptr(m->rc), nx_, d_nlp->lam); in solve()
428 casadi_copy(m->gk, ng_, d_nlp->z + nx_); in solve()
441 auto d_nlp = &m->d_nlp; in userfun() local
453 *arg++ = d_nlp->p; in userfun()
[all …]
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/worhp/
H A Dworhp_interface.cpp359 auto d_nlp = &m->d_nlp; in solve() local
362 casadi_assert(!(d_nlp->lbz[nx_+i]==-inf && d_nlp->ubz[nx_+i] == inf), in solve()
370 casadi_copy(d_nlp->z, nx_, m->worhp_o.X); in solve()
371 casadi_copy(d_nlp->lbz, nx_, m->worhp_o.XL); in solve()
372 casadi_copy(d_nlp->ubz, nx_, m->worhp_o.XU); in solve()
445 m->arg[1] = d_nlp->p; in solve()
455 m->arg[1] = d_nlp->p; in solve()
463 m->arg[1] = d_nlp->p; in solve()
473 m->arg[1] = d_nlp->p; in solve()
482 m->arg[1] = d_nlp->p; in solve()
[all …]
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/ampl/
H A Dampl_interface.cpp279 auto d_nlp = &m->d_nlp; in solve() local
290 nl << i << " " << d_nlp->z[i] << "\n"; in solve()
297 double lbg = d_nlp->lbz[i+nx_]; in solve()
298 double ubg = d_nlp->ubz[i+nx_]; in solve()
319 double lbx = d_nlp->lbz[i]; in solve()
320 double ubx = d_nlp->ubz[i]; in solve()
388 s >> d_nlp->z[i + nx_]; in solve()
394 s >> d_nlp->lam[i+nx_]; in solve()
395 d_nlp->lam[i+nx_] *= -1; in solve()