Number and order of evaluations of eval_f and friends #532
-
Hi there! I plan to use Ipopt in the context of adjoint method optimization. My question is: Is it useful to have multiple entries in my cache? Or can I rely on the behaviour that after a certain |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think it is unlikely that Ipopt will return to a previous iterate. But it is not certain that Ipopt will request a Jacobian for every point where it called eval_f and/or eval_g. I could imagine that in the line search, for a trial point, first only objective and constraint function values are required. If the point is already rejected based on objective function value and constraint violation, Jacobian or Hessian shouldn't be required. See Section 2.3 in the implementation paper for details. Further, in feasibility restoration phase, eval_f may not be called for a point at all. |
Beta Was this translation helpful? Give feedback.
I think it is unlikely that Ipopt will return to a previous iterate.
But it is not certain that Ipopt will request a Jacobian for every point where it called eval_f and/or eval_g. I could imagine that in the line search, for a trial point, first only objective and constraint function values are required. If the point is already rejected based on objective function value and constraint violation, Jacobian or Hessian shouldn't be required. See Section 2.3 in the implementation paper for details.
Further, in feasibility restoration phase, eval_f may not be called for a point at all.