Skip to content

Commit

Permalink
fix bounds on hs11 constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored and abelsiqueira committed Jul 10, 2022
1 parent 476e47c commit f2c2c10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nlp/problems/hs11.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
```
Expand All @@ -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",
)

Expand Down

0 comments on commit f2c2c10

Please sign in to comment.