forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 5:04 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Trying to understand alglib.minlmoptimize
PostPosted: Thu May 24, 2012 5:58 pm 
Offline

Joined: Tue Feb 07, 2012 2:52 pm
Posts: 3
I am using minlmoptimise() with minlmcreatev() and after 12 iterations it finished the optimisation.

However it didn't get great results, I checked the report object (alglib.minlmresults(state, out unknowns, out rep);) and it reported 12 iterations with the termination code 2 - Sigma threshold reached. When debugging I checked the fi object inside the state object and summed up all the fi differences, these summed up to a value >100 which is far larger than my sigma threshold (double epsg = 0.0000000001;). I was wondering how it came to this conclusion?

Any help would be greatly appreciated.

Thanks


Top
 Profile  
 
 Post subject: Re: Trying to understand alglib.minlmoptimize
PostPosted: Fri May 25, 2012 11:02 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
It is possible that you have so called "bad fit problem" (see below). In this case, you can have quite large function value at the solution (where gradient becomes zero). If you don't think that you have "bad fit" situation, you can post your function, so I will be able to study algorithm behavior on your problem.


Attachments:
File comment: chart
chart_lm.png
chart_lm.png [ 16.49 KiB | Viewed 4166 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group