Skip to content

Commit c17a06b

Browse files
tmigotamontoison
authored andcommitted
add hs13
1 parent ed1b0b1 commit c17a06b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/nlp_problems/hs13.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)