From: Yu Sheng on
I have a bound constraint non-linear least squares problem
min||f(x)-y||_2
x
with l<=x<=u

I found that solving this problem with lsqnonlin using trust-region-reflective method is much much faster than with fmincon using the same method. What is the difference between the implementation of these two methods?