Hi!
I am using SNOPT 7.5-1.2 with AMPL Version 20170630. The problem seems to be related to SNOPT, so if there is a better place to discuss this, please let me know (and my apologies for posting it in the wrong place!).
Otherwise, the problem is as follows. For a nonlinear optimization problem, I encountered the following error:
Error evaluating objective function: can't evaluate acos'(-1).
SNOPT 7.5-1.2 : Bug: "scream" called.
4294956185 iterations
I cannot figure out why...I also tried KNITRO in place of SNOPT, and there is no error message. Could anyone help explain what was wrong with SNOPT?
The files are attached. To run, cd to the folder firm_10, and call AMPL to run MC_2d_generate_behavior.mod. I would really appreciate your help!
Best,
Cuicui