-
Notifications
You must be signed in to change notification settings - Fork 302
Comparing changes
Open a pull request
base repository: acados/acados
base: v0.3.0
head repository: acados/acados
compare: v0.3.1
- 16 commits
- 191 files changed
- 4 contributors
Commits on Feb 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 76b7df6 - Browse repository at this point
Copy the full SHA 76b7df6View commit details
Commits on Feb 14, 2024
-
Support slack penalties for initial stage in MEX interface (#1037)
Support slack penalties for initial stage in MEX interface. Follow-up on https://discourse.acados.org/t/issue-in-setting-slack-variable-on-control-input/1456 The convention is as follows now: - bounds on u and general linear constraints are also enforced on the initial node - bounds on x and nonlinear constraints are fully split and have to be explicitly stated with `_0` correspondence to be enforced on the stage.
Configuration menu - View commit details
-
Copy full SHA for e84fa19 - Browse repository at this point
Copy the full SHA e84fa19View commit details -
Split condensing and regularization into preparation and feedback (#1034
) Condensing modules now provide - `condense` - all condensing operations - `condense_rhs` - condensing the right hand side - `condense_lhs` - condensing the left hand side Similarly, regularization modules now provide - `regularize` - all operations - `regularize_rhs` - operations on the right hand side - `regularize_lhs` - operations on the left hand side Only if RTI is split into preparation and feedback, the `_rhs` / `_lhs` routines are called. Otherwise, operations are done all together. Addresses #1031 NOTE: using convexify with split RTI phase has now relatively overhead, see #1035 Splitting the computations for `convexify` more efficiently should be done in another PR.
Configuration menu - View commit details
-
Copy full SHA for 7cf7a3a - Browse repository at this point
Copy the full SHA 7cf7a3aView commit details
Commits on Feb 16, 2024
-
Work on core for speedups (#888)
- **Cast highest level workspace (SQP/SQP-RTI) only in precompute for more speed**: This still allows to reuse workspace across modules. This can only break if one tries to reuse the acados workspace memory from outside. - **Add CasADi sparsity detection** that is called when creating an external function. The CasADi sparsity struct in the generated functions contains an `int` which always say inputs are sparse, often this is not the case. Thus, we check now for speed! - Added `sim_in_assign_and_advance`, this can be called to avoid calling `calculate_size` twice. Doing this everywhere is rather tedious and does not save very much. - **Breaking**: precompute is now required! On a small benchmark of an RTI with ERK and the cartpole this gives me >20% speedup, from 78μs to 62μs.
Configuration menu - View commit details
-
Copy full SHA for 37e17d3 - Browse repository at this point
Copy the full SHA 37e17d3View commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for adb1244 - Browse repository at this point
Copy the full SHA adb1244View commit details -
Cleanup RTI, fix timings and comments (#1038)
- fix timings for RTI: subtimers `time_qp*`, `time_reg` now start at 0 when starting preparation and count operations in both phases - cleanup comments - make enum for RTI phase - precompute integrator workspace_size
Configuration menu - View commit details
-
Copy full SHA for 5343540 - Browse repository at this point
Copy the full SHA 5343540View commit details
Commits on Feb 20, 2024
-
Cleanup SQP submodules - only use single evaluation point at a time (#…
…1040) In some places `tmp_ux` and `ux` where used in a mixed way, i.e. `compute_fun` of constraint modules and what was fixed in #1039 - fixes bug when using globalization and cost computation - fixes bug in globalization with slacks. Constraint was evaluated with slack values from SQP iterate instead of values from the line search candidate Implementation: - Removed all `tmp_*` pointers in SQP submodules - Always evaluate at `ux` - When one wants to evaluate at another iterate, these pointers have to be temporarily set to another iterate and afterwards reset to the nominal SQP iterate, as done in `ocp_nlp_evaluate_merit_fun` now.
Configuration menu - View commit details
-
Copy full SHA for d490843 - Browse repository at this point
Copy the full SHA d490843View commit details
Commits on Mar 4, 2024
-
Fix a few typos regarding the least squares cost formulation (MATLAB …
…examples, Python docs) (#1044)
Configuration menu - View commit details
-
Copy full SHA for 44fb8f4 - Browse repository at this point
Copy the full SHA 44fb8f4View commit details
Commits on Mar 5, 2024
-
- formatting: tabs to spaces - move cost integration memory preparation to precompute
Configuration menu - View commit details
-
Copy full SHA for 4cfab34 - Browse repository at this point
Copy the full SHA 4cfab34View commit details
Commits on Mar 14, 2024
-
Implement advanced-step real-time iteration: AS-RTI (#1046)
This pull request implements the advanced-step real-time iteration (AS-RTI) It is implemented as a feature within the `RTI` module. In order to use it, set the new options: - `as_rti_level` - `as_rti_iter` The feedback phase of RTI and AS-RTI is the same. The AS-RTI preparation phase is used instead of the "standard" RTI preparation phase, when the options above are set. Additionally, this adds the flag: - `rti_log_residuals`: which allows to log the residuals within (AS-)RTI. This was needed for the experiment in the paper, which reports the residuals of the inner iterations. Limited to convex-over-nonlinear and external cost modules for now. The work in this PR is presented in the publication "Advanced-Step Real-time Iterations with Four Levels -- New Error Bounds and Fast Implementation in acados" by Jonathan Frey, Armin Nurkanovic, Moritz Diehl https://arxiv.org/abs/2403.07101 Limitations: - AS-RTI-B not implemented for ns > 0. - AS-RTI-C only implemented for linear inequality constraints.
Configuration menu - View commit details
-
Copy full SHA for f4ea1cd - Browse repository at this point
Copy the full SHA f4ea1cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9579f1f - Browse repository at this point
Copy the full SHA 9579f1fView commit details -
Efficient factorization of diagonal outer Hessian in convex-over-nonl…
…inear and nonlinear least-squares costs (#1024) * add flags indicating whether outer hessian is diagonal * if outer hessian is diagonal and `ny > 4`, its diagonal Cholesky factorization `W_chol` is computed manually and stored as `blasfeo_dvec` * adjust matrix-matrix/matrix-vector multiplications involving `W_chol` accordingly --------- Co-authored-by: Jonathan Frey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c52c283 - Browse repository at this point
Copy the full SHA c52c283View commit details -
Update MATLAB examples with general initial input constraints (#1048)
In this PR the following changes are suggested: - all MATLAB examples are updated as suggested in #1009 - some examples were modified to remove errors caused by calling outdated structures (e.g., `sim.C_ocp`) - additional comments were added in some `getting_started` examples - some models were updated for improved naming consistency (e.g., using `constr_expr_h` instead of `expr_h`) - examples and tests were updated to work with the changes in variable naming - a test script that runs all the examples is added (also contains test results on my laptop) - a few lines were terminated to suppress unnecessary printing
Configuration menu - View commit details
-
Copy full SHA for ec60a48 - Browse repository at this point
Copy the full SHA ec60a48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 303832b - Browse repository at this point
Copy the full SHA 303832bView commit details
Commits on Mar 18, 2024
-
Co-authored-by: Hannes Homburger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for faeced4 - Browse repository at this point
Copy the full SHA faeced4View commit details -
* cleanup python examples * add Furuta pendulum --------- Co-authored-by: Jonathan Frey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 097e034 - Browse repository at this point
Copy the full SHA 097e034View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.0...v0.3.1