forum.alglib.net

ALGLIB forum
It is currently Thu Nov 28, 2024 1:41 pm

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  [ 3 posts ] 
Author Message
 Post subject: minlmoptimize rep callback
PostPosted: Sun Jul 21, 2013 11:23 am 
Offline

Joined: Sun Jul 21, 2013 11:13 am
Posts: 2
I am using the C# code, and find that the minlmoptimize rep callback (function1_rep below) is never called. Other than this the optimization works as expected.

Code:
alglib.minlmoptimize(state, function1_fvec, function1_rep, null);


If I understand the documentation correctly, this function should be called every iteration: "rep - optional callback which is called after each iteration can be NULL"

Am I missing something obvious?

Regards,
Phil


Top
 Profile  
 
 Post subject: Re: minlmoptimize rep callback
PostPosted: Mon Jul 22, 2013 9:11 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Hello!

Did you turned reports on with minlmsetxrep() call?


Top
 Profile  
 
 Post subject: Re: minlmoptimize rep callback
PostPosted: Wed Jul 24, 2013 10:51 am 
Offline

Joined: Sun Jul 21, 2013 11:13 am
Posts: 2
I'd missed that option. I've turned it on now and it's working well.

Thanks very much!
Phil


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group