MatthewPeterKelly / OptimTraj

A trajectory optimization library for Matlab
MIT License
598 stars 207 forks source link

Handle multi-phase problems #53

Closed AlessandroZavoli closed 1 year ago

AlessandroZavoli commented 1 year ago

Many optimal control problems can be more easily solved by splitting the trajectory into multiple phases, joint by some interface (e.g., continuity/discontinuity) conditions.

Would it be possible to add this feature?

MatthewPeterKelly commented 1 year ago

Yeah: support for multi-phase optimization would be great. I've already got an issue open for this (https://github.com/MatthewPeterKelly/OptimTraj/issues/9), so I'm going to close this one as a duplicate.

I'm no longer actively working on OptimTraj, so it is unlikely that this feature will be added as of now. In principle it wouldn't be too hard. The main challenge would be extending the API in a way that kept the core solver easy to use.