[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] gsl optimization precision

From: Patrick Alken
Subject: Re: [Help-gsl] gsl optimization precision
Date: Mon, 22 Jul 2013 09:26:29 -0600
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Have you tried nondimensionalizing your equations, or centering/scaling your variables to make everything close to unit magnitude? This could help the solver find a solution with your needed precision. Otherwise have you tried different algorithms?


On 07/21/2013 08:48 PM, Jingchen Feng wrote:
I am using gsl to do optimization. The problem is I want the precision to be 
high. When I set the stop criteria to be:
status= gsl_multimin_test_gradient(s->gradient,1e-8);

I always get an error code, which tells the value of function can't be improved 
any more. After debugging for a whole day, I think the problem is the type of 
function return value is 'double', which limits the precision. However, It 
seems that gsl does not allow a long double return function to be optimized. Is 
there any way to solve this problem?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]