Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Julia IPOPT implementation #1

Merged
merged 3 commits into from
May 23, 2024
Merged

Added Julia IPOPT implementation #1

merged 3 commits into from
May 23, 2024

Conversation

rlefringhausen
Copy link
Contributor

A Julia implementation, which utilizes the solver IPOPT to solve the OCP, was added. In contrast to the existing implementation, which utilizes the solver Altro, the IPOPT implementation allows arbitrary cost functions $J_H(u_{1:H},x_{1:H},y_{1:H})$, measurement functions $y=g(x,u)$, and constraints $h(u_{1:H},x_{1:H},y_{1:H})$.

The new nonlinear JuMP interface is utilized to formulate the optimal control problem and pass it on to IPOPT. The implementation is thus similar to the MATLAB version of PGopt, which uses CasADi for this purpose.

Corresponding examples have been added, and the documentation has been adapted. The solver Altro can still be used to reproduce the results from the paper exactly.

@rlefringhausen rlefringhausen merged commit bda9280 into main May 23, 2024
1 check passed
@rlefringhausen rlefringhausen deleted the Julia_Ipopt_dev branch May 23, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant