Skip to content

Commit 051a3c6

Browse files
fix TRDH subsolver
1 parent cb542e8 commit 051a3c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TR_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function TRSolver(
4545
v0 ./= sqrt(reg_nlp.model.meta.nvar)
4646
v1 = similar(v0)
4747

48-
subpb = ShiftedProximableQuadraticNLPModel(reg_nlp, xk, ∇f = ∇fk, χ = χ)
48+
subpb = ShiftedProximableQuadraticNLPModel(reg_nlp, xk, ∇f = ∇fk, χ = χ, has_bounds = (has_bounds(reg_nlp.model) || subsolver == TRDHSolver))
4949
substats = RegularizedExecutionStats(subpb)
5050
subsolver = subsolver(subpb)
5151

0 commit comments

Comments
 (0)