Search found 2 matches

by Shuaijie Wang
Thu Feb 18, 2016 4:26 pm
Forum: OpenSim
Topic: Optimization can't be stopped
Replies: 3
Views: 472

Re: Optimization can't be stopped

is there a function could force quit the optimization when the evaluation number reached 1000?

I tried stopMaxFunEvals (int) , it not works.

Thanks!
by Shuaijie Wang
Wed Feb 17, 2016 10:20 pm
Forum: OpenSim
Topic: Optimization can't be stopped
Replies: 3
Views: 472

Optimization can't be stopped

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