@jbcaillau @PierreMartinon
In the case
$$\min f(x)$$
we return as objective value $f(x^*)$. In the case
$$\max -f(x)$$
we return also $f(x^*)$. Is it what we want?
|
# objective from solution |
|
if docp.flags.max |
|
objective = -docp_solution.objective |
|
else |
|
objective = docp_solution.objective |
|
end |
@jbcaillau @PierreMartinon
In the case
we return as objective value$f(x^*)$ . In the case
we return also$f(x^*)$ . Is it what we want?
CTDirect.jl/src/solution.jl
Lines 35 to 40 in 21c4dff