From 4b438392050b511aca9e5beb2830621b286ef0b1 Mon Sep 17 00:00:00 2001 From: tmigot Date: Sat, 9 Mar 2024 18:48:15 +0100 Subject: [PATCH] Add FOMO solver --- src/optimizers.jl | 19 +++++++++++++++++++ src/selection.jl | 12 ++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/src/optimizers.jl b/src/optimizers.jl index cb1042cb..a069e399 100644 --- a/src/optimizers.jl +++ b/src/optimizers.jl @@ -93,6 +93,25 @@ push!( 1, ), ) +push!( + optimizers, + ( + "FOMO", + :FomoSolver, + "JSOSolvers.jl", + :fomo, + true, + false, + false, + false, + false, + true, + true, + true, + false, + 1, + ), +) push!( optimizers, ( diff --git a/src/selection.jl b/src/selection.jl index b0ec442d..ba3820e6 100644 --- a/src/selection.jl +++ b/src/selection.jl @@ -33,9 +33,9 @@ Algorithm selection: - unconstrained: ✓; - nonlinear objective: ✓; - may use 2-th order derivative. -There are 5 optimizers available: -["LBFGS", "R2", "TRON", "TRUNK", "Percival"]. -["LBFGS", "R2", "TRON", "TRUNK", "Percival"] +There are 6 optimizers available: +["LBFGS", "R2", "FOMO", "TRON", "TRUNK", "Percival"]. +["LBFGS", "R2", "FOMO", "TRON", "TRUNK", "Percival"] ``` ```jldoctest; output = false @@ -51,9 +51,9 @@ Algorithm selection: - unconstrained: ✓; - nonlinear objective: ✓; - may use 2-th order derivative. -There are 7 optimizers available: -["LBFGS", "R2", "TRON", "TRUNK", "TRON-NLS", "TRUNK-NLS", "Percival"]. -["LBFGS", "R2", "TRON", "TRUNK", "TRON-NLS", "TRUNK-NLS", "Percival"] +There are 8 optimizers available: +["LBFGS", "R2", "FOMO", "TRON", "TRUNK", "TRON-NLS", "TRUNK-NLS", "Percival"]. +["LBFGS", "R2", "FOMO", "TRON", "TRUNK", "TRON-NLS", "TRUNK-NLS", "Percival"] ``` """ function select_optimizers(