ACADOS: partial condensing (#22830)

* partial condense

* new refs

* new ref

* newerest refs
This commit is contained in:
HaraldSchafer
2021-11-09 19:29:55 -08:00
committed by GitHub
parent b0f9365295
commit 35d6ed1014
3 changed files with 3 additions and 1 deletions
@@ -98,6 +98,7 @@ def gen_lat_mpc_solver():
ocp.solver_options.integrator_type = 'ERK'
ocp.solver_options.nlp_solver_type = 'SQP_RTI'
ocp.solver_options.qp_solver_iter_max = 1
ocp.solver_options.qp_solver_cond_N = N//4
# set prediction horizon
ocp.solver_options.tf = Tf
@@ -166,6 +166,7 @@ def gen_long_mpc_solver():
ocp.solver_options.hessian_approx = 'GAUSS_NEWTON'
ocp.solver_options.integrator_type = 'ERK'
ocp.solver_options.nlp_solver_type = 'SQP_RTI'
ocp.solver_options.qp_solver_cond_N = N//4
# More iterations take too much time and less lead to inaccurate convergence in
# some situations. Ideally we would run just 1 iteration to ensure fixed runtime.
+1 -1
View File
@@ -1 +1 @@
72bf5e2fc5628714a9bbb7cc641954735264f022
d81233677d9987d7645962ff4a076bafd94f83e3