Skip to content

Commit 484c493

Browse files
committed
Remove constant factors: seems to work without.
1 parent 569c407 commit 484c493

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/models/solve_allocation_by_duality.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function hessian_duality(
236236
end
237237

238238
# Assign result
239-
values[ind] = -obj_factor * term + 1e-5 # Somehow need this increment to make it work
239+
values[ind] = -obj_factor * term # + 1e-5 # Somehow need this increment to make it work
240240
end
241241
end
242242
return

src/models/solve_allocation_by_duality_cgc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function hessian_duality_cgc(
230230
end
231231

232232
# Assign result
233-
values[ind] = -obj_factor * term + 1e-6
233+
values[ind] = -obj_factor * term # + 1e-6
234234
end
235235
end
236236
return

0 commit comments

Comments
 (0)