coin-or/Ipopt

ERROR: Solver (ipopt) returned non-zero return code (1)

JieZhu6 opened this issue · 1 comments

I'm getting an error while using ipopt to solve a model that contains constraints on the tanh function. The error log is as follows:

ERROR: Solver (ipopt) returned non-zero return code (1)
ERROR: Solver log: Ipopt 3.14.12:

**************************************************************************
**** This program contains Ipopt, a library for large-scale nonlinear
optimization.
 Ipopt is released as open source code under the Eclipse Public License
 (EPL).
         For more information visit https://github.com/coin-or/Ipopt
**************************************************************************
****

This is Ipopt version 3.14.12, running with linear solver MUMPS 5.5.1.

Number of nonzeros in equality constraint Jacobian...:        0 Number of
nonzeros in inequality constraint Jacobian.:     3249 Number of nonzeros
in Lagrangian Hessian.............:      745

Error evaluating "var =" definition -1: can't evaluate tanh'(1152.63).

I don't know what the problem is that's causing this

Duplicate of #701.