Text this: A collocation method for optimal control of linear systems with inequality constraints