forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 7:17 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  [ 1 post ] 
Author Message
 Post subject: rep function not being called from minlbfgsoptimize
PostPosted: Fri Jul 10, 2015 12:51 am 
Offline

Joined: Thu Jul 09, 2015 11:16 pm
Posts: 1
Make the following changes to your test code, place a breakpoint, and you'll see that function1_rep is never called.

void function1_rep(const real_1d_array &x, double func, void *ptr)
{
func = 0.0; // just to put breakpoint.
}

// alglib::minlbfgsoptimize(state, function1_func);
alglib::minlbfgsoptimize(state, function1_func, function1_rep);


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 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