From b185fd4b83ff494e36967008ae2f207a190eb610 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Mon, 15 Jul 2024 15:52:38 -0700 Subject: [PATCH] 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.) --- engine-proto/gram-test/Engine.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine-proto/gram-test/Engine.jl b/engine-proto/gram-test/Engine.jl index 0a4303b..10f4b02 100644 --- a/engine-proto/gram-test/Engine.jl +++ b/engine-proto/gram-test/Engine.jl @@ -303,7 +303,7 @@ function realize_gram_optim( optimize( loss, loss_grad!, loss_hess!, reshape(guess, total_dim), - NewtonTrustRegion() + Newton() ) end