Switch to backtracking Newton's method in Optim
This performs much better than the trust region Newton's method for the actual `circles-in-triangle` problem. (The trust region method performs better for the simplified problem produced by the conversion bug.)
This commit is contained in:
parent
94e0d321d5
commit
b185fd4b83
@ -303,7 +303,7 @@ function realize_gram_optim(
|
|||||||
optimize(
|
optimize(
|
||||||
loss, loss_grad!, loss_hess!,
|
loss, loss_grad!, loss_hess!,
|
||||||
reshape(guess, total_dim),
|
reshape(guess, total_dim),
|
||||||
NewtonTrustRegion()
|
Newton()
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user