Two Phase Method Minimization Problem