Skip to content

Commit 25226e7

Browse files
committed
🤖 Format .jl files
1 parent 6992398 commit 25226e7

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/ADNLPProblems/hs248.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ function hs248(; n::Int = default_nvar, type::Type{T} = Float64, kwargs...) wher
77
x0 = T[-0.1, -1, 0.1]
88
lcon = T[-1; 1]
99
ucon = T[Inf; 1]
10-
A = T[
11-
1 -2
12-
]
10+
A = T[1 -2]
1311
function c!(cx, x)
1412
cx[1] = x[1]^2 + x[2]^2 + x[3]^2
1513
return cx

src/ADNLPProblems/hs251.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ function hs251(; n::Int = default_nvar, type::Type{T} = Float64, kwargs...) wher
88
x0 = T[10, 10, 10]
99
lvar = T[0, 0, 0]
1010
uvar = T[42, 42, 42]
11-
A = T[
12-
-1 -2 -2
13-
]
11+
A = T[-1 -2 -2]
1412
lcon = T[-72]
1513
ucon = T[Inf]
1614
return ADNLPModels.ADNLPModel(f, x0, lvar, uvar, sparse(A), lcon, ucon, name = "hs251"; kwargs...)

src/ADNLPProblems/hs253.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ function hs253(; n::Int = default_nvar, type::Type{T} = Float64, kwargs...) wher
1313
x0 = T[0, 2, 0]
1414
lvar = T[0, 0, 0]
1515
uvar = T[Inf, Inf, Inf]
16-
A = T[
17-
-3 0 -3
18-
]
16+
A = T[-3 0 -3]
1917
lcon = T[-30]
2018
ucon = T[Inf]
2119
return ADNLPModels.ADNLPModel(f, x0, lvar, uvar, sparse(A), lcon, ucon, name = "hs253"; kwargs...)

0 commit comments

Comments
 (0)