Inverted pendulum – Bocop – The optimal control solver