Skip to content

Commit

Permalink
Merge pull request #347 from JuliaOpt/ml/scale
Browse files Browse the repository at this point in the history
fix bug in scaling for rays
  • Loading branch information
mlubin authored Apr 3, 2017
2 parents 0cc0ac8 + 5f00d57 commit 1e51815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conic_algorithm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ function solve_subp_add_subp_cuts!(m)
if ray_value < -m.cut_zero_tol
if m.scale_subp_cuts
# Rescale by number of cones / value of ray
scale!(dual_conic, m.new_scale_subp_factor/ray_value)
scale!(dual_conic, -m.new_scale_subp_factor/ray_value)
end
else
warn("Conic solver failure: returned status $status_conic with empty solution and nonempty dual, but b'y is not sufficiently negative for infeasible ray y (please submit an issue)\n")
Expand Down

0 comments on commit 1e51815

Please sign in to comment.