We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed1b0b1 commit c17a06bCopy full SHA for c17a06b
test/nlp_problems/hs13.jl
@@ -0,0 +1,11 @@
1
+"HS13 model"
2
+function hs13(args...; kwargs...)
3
+ nlp = Model()
4
+ @variable(nlp, x[i = 1:2] ≥ 0, start = -2)
5
+
6
+ @NLobjective(nlp, Min, (x[1] - 2)^2 + x[2]^2)
7
8
+ @NLconstraint(nlp, (1 - x[1])^3 ≥ x[2])
9
10
+ return nlp
11
+end
0 commit comments