Hi,
I am learning AMPL to solve a nonlinear problem with SNOPT solver. I encountered a problem with "Major iteration limit reached". Do you have any advice on that?
The output is:
SNOPT 7.5-1.2 : Major iteration limit reached.
2439 iterations, objective 240.0187311
Nonlin evals: obj = 1919, grad = 1918, constrs = 1919, Jac = 1918.
option snopt_option 'major_iterations_limit=10000';
But I have tried with "major_iterations_limit", "major_iterations", "iterations". No matter what I changed, it will return the same error.
My run file is:
model test.mod;
data test.dat;
option snopt_option 'wantsol=1 major_iterations_limit=10000 iterations';
option solver snopt;
solve;
Thank you!
Best,
Yanzhe