Increasing number of iteration

179 views
Skip to first unread message

ma02hhm

unread,
Mar 27, 2012, 2:37:06 PM3/27/12
to AMPL Modeling Language
Hi,

Is there an option to increase more iteration when solving a problem.
My understanding is more iterations more accuracy. currently showing
558 iteration after solving the problem.

Paul

unread,
Mar 27, 2012, 6:12:42 PM3/27/12
to am...@googlegroups.com
Solvers run until either a convergence criterion is satisfied, an iteration limit is reached, a time limit is reached, a memory limit is reached, or an error occurs.  If what stopped your solver was an interation limit, there should be a way to change the limit.  If it was a time or memory limit, you should be able to increase those (assuming that, in the latter case, you actually have more memory available).  If what stopped you was a convergence limit (objective value close to a known bound, lack of progress in improving the objective, or lack of change in the solution variables), fiddling with iteration/time/memory limits will not help.

So the key questions are whether you are solving a linear or nonlinear problem, what solver you are using, and (most important) why the solver stopped when it did.

Paul
Reply all
Reply to author
Forward
0 new messages