Skip to content

Commit

Permalink
add hs13
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored and amontoison committed Mar 8, 2022
1 parent ed1b0b1 commit c17a06b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/nlp_problems/hs13.jl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c17a06b

Please sign in to comment.