_minimize_slsqp is private