From c17a06bca81a0ccdc97a06cc7e1a1be9e9186045 Mon Sep 17 00:00:00 2001 From: tmigot Date: Tue, 22 Feb 2022 09:32:16 -0500 Subject: [PATCH] add hs13 --- test/nlp_problems/hs13.jl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/nlp_problems/hs13.jl diff --git a/test/nlp_problems/hs13.jl b/test/nlp_problems/hs13.jl new file mode 100644 index 0000000..4ae5640 --- /dev/null +++ b/test/nlp_problems/hs13.jl @@ -0,0 +1,11 @@ +"HS13 model" +function hs13(args...; kwargs...) + nlp = Model() + @variable(nlp, x[i = 1:2] ≥ 0, start = -2) + + @NLobjective(nlp, Min, (x[1] - 2)^2 + x[2]^2) + + @NLconstraint(nlp, (1 - x[1])^3 ≥ x[2]) + + return nlp +end