Maximized Objective Value: 0 #716
Answered
by
svigerske
wladimirpetrov
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
svigerske
Oct 19, 2023
Replies: 1 comment 1 reply
-
-9.9999931446e+01 seems pretty close to -100 to me. What you expect you will get from Number x[2];
problem->eval_f(2, x, true, obj_value); ? Maybe https://coin-or.github.io/Ipopt/INTERFACES.html#INTERFACE_CPP could help, in particular the part about finalize_solution. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
wladimirpetrov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-9.9999931446e+01 seems pretty close to -100 to me.
What you expect you will get from
?
Maybe https://coin-or.github.io/Ipopt/INTERFACES.html#INTERFACE_CPP could help, in particular the part about finalize_solution.