Skip to content

Commit 2be4fe1

Browse files
committed
Update nf.jl
1 parent b29d41b commit 2be4fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nlp_problems/nf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function nf()
44
h(x::Vector{VariableRef}) = sum(x.^4)
55
nlp = Model()
66
@variable(nlp, x[1:2])
7-
@constraint(nlp, f(x) .- g(x) in MOI.Nonnegatives(2))
7+
@constraint(nlp, f(x) .- g(x) .>= 0)
88
@objective(nlp, Max, h(x))
99
return nlp
1010
end

0 commit comments

Comments
 (0)