@@ -129,7 +129,7 @@ import Manifolds: inner
129
129
M, grad_h!, p0; g= g, grad_g= grad_g!, evaluation= InplaceEvaluation ()
130
130
)
131
131
p5 = difference_of_convex_proximal_point (M, grad_h, p0; g= g, grad_g= grad_g)
132
- # p5b = difference_of_convex_proximal_point(M, grad_h; g=g, grad_g=grad_g)
132
+ p5b = difference_of_convex_proximal_point (M, grad_h; g= g, grad_g= grad_g)
133
133
# using gradient descent
134
134
p5c = difference_of_convex_proximal_point (
135
135
M,
@@ -150,12 +150,12 @@ import Manifolds: inner
150
150
p6 = get_solver_result (s2)
151
151
@test Manopt. get_message (s2) == " "
152
152
153
- @test_broken isapprox (M, p3, p4)
153
+ @test isapprox (M, p3, p4)
154
154
@test isapprox (M, p4, p5)
155
155
@test isapprox (M, p5, p6)
156
- # @test isapprox(f(M, p5b), 0.0; atol=2e-16) # bit might be a different min due to rand
157
- @test isapprox (f (M, p5c), 0.0 ; atol= 1e-9 ) # might be a bit imprecise
158
- @test_broken isapprox (f (M, p4), 0.0 ; atol= 1e-8 ) # might be a bit imprecise
156
+ @test isapprox (f (M, p5b), 0.0 ; atol= 2e-16 ) # bit might be a different min due to rand
157
+ @test isapprox (f (M, p5c), 0.0 ; atol= 1e-10 )
158
+ @test isapprox (f (M, p4), 0.0 ; atol= 1e-14 )
159
159
160
160
Random. seed! (23 )
161
161
p7 = difference_of_convex_algorithm (M, f, g, grad_h; grad_g= grad_g)
@@ -169,7 +169,7 @@ import Manifolds: inner
169
169
p9 = difference_of_convex_algorithm (
170
170
M, f, g, grad_h, p0; grad_g= grad_g, sub_hess= nothing
171
171
)
172
- @test_broken isapprox (M, p9, p2; atol= 1e-7 )
172
+ @test isapprox (M, p9, p2; atol= 1e-9 )
173
173
174
174
@test_throws ErrorException difference_of_convex_proximal_point (
175
175
M, grad_h, p0; sub_problem= nothing
0 commit comments