Skip to content

Maximized Objective Value: 0 #716

Answered by svigerske
wladimirpetrov asked this question in Q&A
Discussion options

You must be logged in to vote

-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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wladimirpetrov
Comment options

Answer selected by wladimirpetrov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants