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

ADiGator for OptimTraj #25

Open
stumarcus314 opened this issue Sep 9, 2016 · 1 comment
Open

ADiGator for OptimTraj #25

stumarcus314 opened this issue Sep 9, 2016 · 1 comment

Comments

@stumarcus314
Copy link

stumarcus314 commented Sep 9, 2016

ADiGator (https://sourceforge.net/projects/adigator/) is free, open-source MATLAB software that computes vectorized gradients (and even Hessians) via automatic differentiation. It was developed by the author of GPOPS-II to make it easier to supply vectorized gradients and Hessians to GPOPS-II. Perhaps ADiGator could be integrated into OptimTraj so that OptimTraj can optionally use ADiGator to generate vectorized derivatives of the optimal control functions (e.g. dynamics, path objective, etc.). This would be very useful, as it is often very difficult to manually derive and implement vectorized gradients (and Hessians).

@MatthewPeterKelly
Copy link
Owner

You can ADiGator to supply gradients to OptimTraj, but you would probably need to do a bit of work to get the formats to be consistent.

This would be a great feature to add to OpimTraj at some point.

I have used ADiGator before, but only as a built-in feature for GPOPS-II, when called directly (as opposed to through OptimTraj).

All of the code in OptimTraj uses the Matlab symbolic toolbox to automatically generate gradients. The format for the gradients in OptimTraj was selected so as to be most compatible with these methods. This is most clear in the Five-Link Biped example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants