[help-gsl] gsl_multimin_fdfminimizer quits too early! (2008-09-01)
|
From: |
"David Doria" <daviddoria@.........> |
|
Subject: |
gsl_multimin_fdfminimizer quits too early! |
|
Date: |
Mon, 1 Sep 2008 12:14:18 -0400 |
|
To: |
help-gsl@gnu.org |
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