TroglodyteDerivations commited on
Commit
1321038
1 Parent(s): 27849a1

Updated lines 654-669 with: LaTeX formulation vis-a-vis proper delimiters ‘$$'

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -651,7 +651,22 @@ iface = gr.Interface(
651
 
652
  ],
653
  title="Grey Wolf Optimizer",
654
- description="Optimize the objective function using the Grey Wolf Optimizer.",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
655
  article="## Grey Wolf Optimizer\nThe Grey Wolf Optimizer (GWO) is a population-based metaheuristic optimization algorithm inspired by the social behavior of grey wolves in nature."
656
  )
657
 
 
651
 
652
  ],
653
  title="Grey Wolf Optimizer",
654
+ description=r"""
655
+ ## Grey Wolf Optimizer
656
+
657
+ The Grey Wolf Optimizer (GWO) is a population-based metaheuristic optimization algorithm inspired by the social behavior of grey wolves in nature.
658
+
659
+ The objective function to be optimized is given by the following formula:
660
+
661
+ ```math
662
+ f(p) = -5.0 \cdot \exp \left( -0.5 \cdot \left( \frac{(x+2.2)^2}{0.4} + \frac{(y-4.3)^2}{0.4} \right) \right) + -2.0 \cdot \exp \left( -0.5 \cdot \left( \frac{(x-2.2)^2}{0.4} + \frac{(y+4.3)^2}{0.4} \right) \right)
663
+ ```
664
+ Or in a more readable form:
665
+
666
+ $$
667
+ f(p) = -5.0 \cdot \exp \left( -0.5 \cdot \left( \frac{(x+2.2)^2}{0.4} + \frac{(y-4.3)^2}{0.4} \right) \right) + -2.0 \cdot \exp \left( -0.5 \cdot \left( \frac{(x-2.2)^2}{0.4} + \frac{(y+4.3)^2}{0.4} \right) \right)
668
+ $$
669
+ """,
670
  article="## Grey Wolf Optimizer\nThe Grey Wolf Optimizer (GWO) is a population-based metaheuristic optimization algorithm inspired by the social behavior of grey wolves in nature."
671
  )
672