I understand that ampl/cplex discards the values of parameters if they
are outside of the subscript ranges of the parameters, and return a
warning message, and stops if there are more than 10 warnings, such as
presented below.
Error at _cmdno 125 executing "solve" command
(file Main.run, line 334, offset 17958):
error processing param p:
66 invalid subscripts discarded:
p[9]
and 63 more.
Bailing out after 10 warnings.
However, I want the solver to continue instead of stop. After searching
in the AMPL googlegroups, I found two suggestions, "option
presolve_warnings xxx;" with xxx set to a large number, and "option
eerror -20 ;" (or maybe "option error -20;"?). But bailing out still
occurs with these options. I wonder how to suppress the bailing out and
force the solver to continue? Thank you very much.
Regards,
Ziming
Bob Fourer
4...@ampl.com
It is working. Thank you.
Regards,
Ziming Guan