Skip to content

[General] Objective value #474

@ocots

Description

@ocots

@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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions