/dports/math/casadi/casadi-3.5.5/casadi/solvers/ |
H A D | qrsqp.cpp | 290 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 D | scpgen.cpp | 752 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 D | sqpmethod.cpp | 327 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 D | ipopt_interface.cpp | 414 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 D | ipopt_nlp.cpp | 90 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 D | knitro_interface.cpp | 174 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 D | nlpsol.cpp | 470 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 D | nlpsol_impl.hpp | 40 casadi_nlpsol_data<double> d_nlp; member
|
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/bonmin/ |
H A D | bonmin_interface.cpp | 392 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 D | bonmin_nlp.cpp | 73 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 D | blocksqp.cpp | 637 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 D | snopt_interface.cpp | 293 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 D | worhp_interface.cpp | 359 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 D | ampl_interface.cpp | 279 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()
|