Skip to content

Commit

Permalink
Fix mermaid?
Browse files Browse the repository at this point in the history
  • Loading branch information
janosg committed Nov 4, 2024
1 parent 374b9d3 commit 56cfe9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/source/how_to/how_to_algorithm_selection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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<br/>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<br/>nonlinear<br/>constraints?\"] -- yes --> B[\"differentiable?\"]\n",
" B[\"Is your objective function differentiable?\"] -- yes --> C[\"ipopt<br/>nlopt_slsqp<br/>scipy_trust_constr\"]\n",
" B[\"differentiable?\"] -- no --> D[\"scipy_cobyla<br/>nlopt_cobyla\"]\n",
"\n",
" A[\"Do you have<br/>nonlinear constraints?\"] -- no --> E[\"Can you exploit<br/>a least-squares<br/>structure?\"]\n",
" E[\"Can you exploit<br/>a least-squares<br/>structure?\"] -- yes --> F[\"differentiable?\"]\n",
" E[\"Can you exploit<br/>a least-squares<br/>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<br/>scipy_ls_trf<br/>scipy_ls_dogleg\"]\n",
" F[\"differentiable?\"] -- no --> I[\"nag_dflos<br/>pounders<br/>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<br/>nlopt_lbfgsb<br/>fides\"]\n",
" G[\"differentiable?\"] -- no --> K[\"nlopt_bobyqa<br/>nlopt_neldermead<br/>neldermead_parallel\"]\n",
"\n",
"```\n",
"\n",
Expand Down

0 comments on commit 56cfe9b

Please sign in to comment.