From 56cfe9b741d588d956496b939ce133c9374874f6 Mon Sep 17 00:00:00 2001 From: Janos Gabler Date: Mon, 4 Nov 2024 15:41:29 +0100 Subject: [PATCH] Fix mermaid? --- .../how_to/how_to_algorithm_selection.ipynb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/source/how_to/how_to_algorithm_selection.ipynb b/docs/source/how_to/how_to_algorithm_selection.ipynb index fb9f26fb7..5b15c8352 100644 --- a/docs/source/how_to/how_to_algorithm_selection.ipynb +++ b/docs/source/how_to/how_to_algorithm_selection.ipynb @@ -42,21 +42,21 @@ "This is a practical guide for narrowing down the set of algorithms to experiment with:\n", "\n", "```{mermaid}\n", - "graph TD\n", + "graph LR\n", " classDef highlight fill:#FF4500;\n", - " A[\"Do you have
nonlinear constraints?\"] -- yes --> B[\"differentiable?\"]\n", - " B[\"Is your objective function differentiable?\"] -- yes --> C[\"ipopt , nlopt_slsqp , scipy_trust_constr\"]\n", - " B[\"differentiable?\"] -- no --> D[\"scipy_cobyla , nlopt_cobyla\"]\n", + " A[\"Do you have
nonlinear
constraints?\"] -- yes --> B[\"differentiable?\"]\n", + " B[\"Is your objective function differentiable?\"] -- yes --> C[\"ipopt
nlopt_slsqp
scipy_trust_constr\"]\n", + " B[\"differentiable?\"] -- no --> D[\"scipy_cobyla
nlopt_cobyla\"]\n", "\n", " A[\"Do you have
nonlinear constraints?\"] -- no --> E[\"Can you exploit
a least-squares
structure?\"]\n", " E[\"Can you exploit
a least-squares
structure?\"] -- yes --> F[\"differentiable?\"]\n", " E[\"Can you exploit
a least-squares
structure?\"] -- no --> G[\"differentiable?\"]\n", "\n", - " F[\"differentiable?\"] -- yes --> H[\"scipy_ls_lm , scipy_ls_trf , scipy_ls_dogleg\"]\n", - " F[\"differentiable?\"] -- no --> I[\"nag_dflos , pounders , tao_pounders\"]\n", + " F[\"differentiable?\"] -- yes --> H[\"scipy_ls_lm
scipy_ls_trf
scipy_ls_dogleg\"]\n", + " F[\"differentiable?\"] -- no --> I[\"nag_dflos
pounders
tao_pounders\"]\n", "\n", - " G[\"differentiable?\"] -- yes --> J[\"scipy_lbfgsb , nlopt_lbfgsb , fides\"]\n", - " G[\"differentiable?\"] -- no --> K[\"nlopt_bobyqa , nlopt_neldermead , neldermead_parallel\"]\n", + " G[\"differentiable?\"] -- yes --> J[\"scipy_lbfgsb
nlopt_lbfgsb
fides\"]\n", + " G[\"differentiable?\"] -- no --> K[\"nlopt_bobyqa
nlopt_neldermead
neldermead_parallel\"]\n", "\n", "```\n", "\n",