Ability for Callback function during optimization run #383 #384
Unanswered
Philippe1123
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @Philippe1123, This is not supported with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I already posted this in the "Issues" section but realized it would perhaps fit better in the "discussion" part. My apologies for the double post.
I am trying to implement a callback option for my InfiniteOpt problem in a similar way as described here:
https://stackoverflow.com/questions/75650626/intermediate-values-through-callback-functions
Is this currently possible in InfiniteOpt?
I now get the following error:
MethodError: no method matching set(::InfiniteModel, ::Ipopt.CallbackFunction, ::typeof(my_callback))
The function set exists, but no method is defined for this combination of argument types.
Thank you all for your help!
Beta Was this translation helpful? Give feedback.
All reactions