Skip to content

Commit b958a27

Browse files
committed
Minor comments.
1 parent bdbb84f commit b958a27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/models/solve_allocation_by_duality.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function objective_duality(x, auxdata)
101101

102102
# Compute objective value
103103
f = sum(graph.omegaj .* graph.Lj .* param.u.(res.cj, graph.hj)) - sum(cons)
104-
return f # Negative objective because Ipopt minimizes
104+
return f # Negative objective because Ipopt minimizes?
105105
end
106106

107107
# Gradient function = negative constraint

0 commit comments

Comments
 (0)