forum.alglib.net
http://forum.alglib.net/

rep function not being called from minlbfgsoptimize
http://forum.alglib.net/viewtopic.php?f=2&t=2518
Page 1 of 1

Author:  swilson314 [ Fri Jul 10, 2015 12:51 am ]
Post subject:  rep function not being called from minlbfgsoptimize

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);

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/