numagic / lumos

scalable accelerated optimal control
MIT License
16 stars 0 forks source link

tidy-up model algebra constraint creation #92

Open yunlongxu-numagic opened 1 year ago

yunlongxu-numagic commented 1 year ago

original we create the model algebra constraints as mapped constraints that are later convoluted, which fits well into the OCP framework. But for a single model algebra solve, this is unnecessary.

We should improve how we formulate model algebra, specifically making things clearer for the single stage solve in ModelSolver, and for OCP with multiple stages and intervals.