Skip to content

Commit

Permalink
fix unscaling of the constraints during post-processing (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
frapac authored Aug 18, 2022
1 parent d343c6d commit 185c525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IPM/solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ end
function unscale!(ips::AbstractInteriorPointSolver)
ips.obj_val/=ips.obj_scale[]
ips.c ./= ips.con_scale
ips.c .-= ips.rhs
ips.c .+= ips.rhs
ips.c_slk .+= ips.x_slk
end

Expand Down

0 comments on commit 185c525

Please sign in to comment.