Skip to content

Commit 177def2

Browse files
committed
use less conservative step acceptance policy
1 parent 21d246d commit 177def2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trustRegion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ end
160160
function TrustRegion(; concrete_jac = nothing, linsolve = nothing, precs = DEFAULT_PRECS,
161161
radius_update_scheme::RadiusUpdateSchemes.T = RadiusUpdateSchemes.Simple, #defaults to conventional radius update
162162
max_trust_radius::Real = 0 // 1, initial_trust_radius::Real = 0 // 1,
163-
step_threshold::Real = 1 // 10, shrink_threshold::Real = 1 // 4,
163+
step_threshold::Real = 1 // 10000, shrink_threshold::Real = 1 // 4,
164164
expand_threshold::Real = 3 // 4, shrink_factor::Real = 1 // 4,
165165
expand_factor::Real = 2 // 1, max_shrink_times::Int = 32, adkwargs...)
166166
ad = default_adargs_to_adtype(; adkwargs...)

0 commit comments

Comments
 (0)