Text this: A new cutting plane algorithm for non-linearly constrained optimization with applications