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:
Aaron Fenyes 2024-07-15 15:52:38 -07:00
parent 94e0d321d5
commit b185fd4b83

View File

@ -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