Skip to content

Commit 1a412b8

Browse files
github-actions[bot]CompatHelper Juliatmigot
authored
CompatHelper: bump compat for NLPModels to 0.20, (keep existing compat) (#128)
* CompatHelper: bump compat for NLPModels to 0.20, (keep existing compat) --------- Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> Co-authored-by: tmigot <tangi.migot@gmail.com>
1 parent 5798053 commit 1a412b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ StoppingInterface = "53949629-e8ff-437b-b6e7-14da1a85bf25"
2222

2323
[compat]
2424
FastClosures = "0.2, 0.3"
25-
JSOSolvers = "0.9"
25+
JSOSolvers = "0.9, 0.10"
2626
Krylov = "0.8, 0.9"
2727
LDLFactorizations = "0.8, 0.9, 0.10"
2828
LinearOperators = "1, 2"
29-
NLPModels = "0.18, 0.19"
29+
NLPModels = "0.18, 0.19, 0.20"
3030
NLPModelsIpopt = "0.10"
3131
NLPModelsKnitro = "0.7"
3232
NLPModelsModifiers = "0.5, 0.6"

src/algo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ function SolverCore.solve!(
275275
sub_stp.current_state.current_score,
276276
)
277277
set_constraint_multipliers!(stats, stp.current_state.lambda)
278-
if has_bounds(stp.pb)
278+
if has_bounds(stp.pb) && (stp.current_state.mu != [])
279279
set_bounds_multipliers!(stats, max.(stp.current_state.mu, 0), min.(stp.current_state.mu, 0))
280280
end
281281
set_iter!(stats, stp.meta.nb_of_stop)

0 commit comments

Comments
 (0)