Text this: Mixed integer nonlinear optimization framework applied to a platinum group metals flotation circuit