Skip to content

Commit

Permalink
test new trust region schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
FHoltorf committed Sep 27, 2023
1 parent 32cf735 commit e77fa76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/basictests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ end
return solve(prob, TrustRegion(; radius_update_scheme); abstol = 1e-9, kwargs...)
end

radius_update_schemes = [RadiusUpdateSchemes.Simple, RadiusUpdateSchemes.Hei,
RadiusUpdateSchemes.Yuan, RadiusUpdateSchemes.Fan, RadiusUpdateSchemes.Bastin]
radius_update_schemes = [RadiusUpdateSchemes.Simple, RadiusUpdateSchemes.NocedalWright,
RadiusUpdateSchemes.NLsolve, RadiusUpdateSchemes.Hei, RadiusUpdateSchemes.Yuan,
RadiusUpdateSchemes.Fan, RadiusUpdateSchemes.Bastin]
u0s = VERSION v"1.9" ? ([1.0, 1.0], @SVector[1.0, 1.0], 1.0) : ([1.0, 1.0], 1.0)

@testset "[OOP] u0: $(typeof(u0)) radius_update_scheme: $(radius_update_scheme)" for u0 in u0s,
Expand Down

0 comments on commit e77fa76

Please sign in to comment.