From f2c2c1044aba74424a52e292fe2d39524b790a8c Mon Sep 17 00:00:00 2001 From: tmigot Date: Wed, 6 Jul 2022 18:03:11 -0400 Subject: [PATCH] fix bounds on hs11 constraints --- src/nlp/problems/hs11.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nlp/problems/hs11.jl b/src/nlp/problems/hs11.jl index 7ccb4c1..bbb29f3 100644 --- a/src/nlp/problems/hs11.jl +++ b/src/nlp/problems/hs11.jl @@ -8,7 +8,7 @@ export HS11 ```math \\begin{aligned} \\min \\quad & (x_1 - 5)^2 + x_2^2 - 25 \\\\ -\\text{s. to} \\quad & -x_1^2 + x_2 \\leq 0 +\\text{s. to} \\quad & 0 \\leq -x_1^2 + x_2 \\end{aligned} ``` @@ -26,8 +26,8 @@ function HS11(::Type{T}) where {T} nnzh = 2, nnzj = 2, x0 = T[4.9; 0.1], - lcon = T[-Inf], - ucon = T[0], + lcon = T[0], + ucon = T[Inf], name = "HS11_manual", )