When I try to minimize a function of 2 variables, it seems to quit after
only a couple of iterations even though the gradient in one direction is
still huge
gsl_multimin_fdfminimizer_gradient(s) says the gradient is: 149.996,
-0.00258272
I am using
const gsl_multimin_fdfminimizer_type *T;
gsl_multimin_fdfminimizer *s;
T = gsl_multimin_fdfminimizer_conjugate_fr;
s = gsl_multimin_fdfminimizer_alloc(T, 2);
gsl_multimin_fdfminimizer_set(s, &F, x, .1, .1);
Does any one have any idea why it would quit so early?
--
Thanks,
David
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl