Skip to content

What is the reason for the error? ERROR: Solver (ipopt) returned non-zero return code (1) #701

Answered by svigerske
JieZhu6 asked this question in Q&A
Discussion options

You must be logged in to vote

The "Error evaluating ..." line seems to come from the AMPL solver library (ASL) code when handling a defined variable. The derivative of tanh is essentially 0 at this point, but I guess while computing it, it tries to evaluate exp(1152), which runs into a floating-point overflow. The AMPL developers should know better what is happening there.

You may want to revise your starting point or model to avoid that tanh' needs to be evaluated at such a large value.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JieZhu6
Comment options

Answer selected by svigerske
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants