diff --git a/test/JuMP_tests.jl b/test/JuMP_tests.jl index cdb5275..5e71c4c 100644 --- a/test/JuMP_tests.jl +++ b/test/JuMP_tests.jl @@ -453,11 +453,10 @@ function _specialorderedset(opt) m = JuMP.Model(opt) JuMP.@variable(m, u) - JuMP.@variable(m, w[1:3]) + JuMP.@variable(m, 0 <= w[1:3] <= 1.5) w0 = w + [1.1, 2.3, 3.5] JuMP.@constraint(m, vcat(u, w0) in MOI.GeometricMeanCone(4)) JuMP.@objective(m, Max, u) - JuMP.@constraint(m, w .<= 1.5) JuMP.@constraint(m, w in S([1.0, 2, 3])) JuMP.optimize!(m)