Optimization can't be stopped
Posted: Wed Feb 17, 2016 10:20 pm
Hi,
In my simulation, I set the optimizer iteration as 1000, but the optimization can't be stopped even when the step count reached 2000.
I am very confused about this problem? anyone can give me some suggestion?
here is my code:
Optimizer opt(sys, SimTK::LBFGSB);
opt.setConvergenceTolerance(0.05);
opt.useNumericalGradient(true);
opt.setMaxIterations(1000);
opt.setLimitedMemoryHistory(500);
Also, I set the lower_bound as -1, the upper_bound as 2, is it ok?
Thanks!
In my simulation, I set the optimizer iteration as 1000, but the optimization can't be stopped even when the step count reached 2000.
I am very confused about this problem? anyone can give me some suggestion?
here is my code:
Optimizer opt(sys, SimTK::LBFGSB);
opt.setConvergenceTolerance(0.05);
opt.useNumericalGradient(true);
opt.setMaxIterations(1000);
opt.setLimitedMemoryHistory(500);
Also, I set the lower_bound as -1, the upper_bound as 2, is it ok?
Thanks!