We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2a467 commit 06f798dCopy full SHA for 06f798d
src/feasibility.jl
@@ -815,7 +815,8 @@ function _analyze_complementarity!(model, data)
815
obj = JuMP.constraint_object(con)
816
func = obj.func
817
set = obj.set
818
- func_val = JuMP.value.(x -> data.primal_point[x], func) - _set_value(set)
+ func_val =
819
+ JuMP.value.(x -> data.primal_point[x], func) - _set_value(set)
820
comp_val = MOI.Utilities.set_dot(func_val, data.dual_point[con], set)
821
if abs(comp_val) > data.atol
822
push!(data.complementarity, ComplemetarityViolation(con, comp_val))
0 commit comments