Closed GravityAssisted closed 6 years ago
We do not and will not support this. The recommended workaround is to store the x
vector in your evaluator and just check if you've been called again with the same vector. If the function is truly expensive then this check should have no performance implications.
Understood and thats what I am doing now, just wanted to check if this feature was hidden or on the horizon. thanks.
Ipopt has a boolean argument in all of its user supplied functions, called
new_x
, defined here. For example foreval_f
:This allows a user to remove computations from
eval_f
computation if anyeval_*
method has already been called, saving a ton a runtime in some cases (my) . Is this feature available via theMathProgBase
interface ? if not, do you all think that this can be implemented ?thanks, Nitin