| Conditions | 3 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | """Implementation of Griewank function. |
||
| 13 | evaluated on the hypercube x_i ∈ [-100, 100], for all i = 1, 2,..., D. |
||
| 14 | |||
| 15 | Global minimum: |
||
| 16 | f(x*) = 0, at x* = (0,...,0) |
||
| 17 | |||
| 18 | LaTeX formats: |
||
| 19 | Inline: $f(x) = \sum_{i=1}^D \frac{x_i^2}{4000} - |
||
| 20 | \prod_{i=1}^D cos(\frac{x_i}{\sqrt{i}}) + 1$ |
||
| 21 | Equation: \begin{equation} f(x) = \sum_{i=1}^D \frac{x_i^2}{4000} - |
||
| 22 | \prod_{i=1}^D cos(\frac{x_i}{\sqrt{i}}) + 1 \end{equation} |
||
| 23 | Domain: $-100 \leq x_i \leq 100$ |
||
| 24 | |||
| 25 | Reference paper: |
||
| 26 | Jamil, M., and Yang, X. S. (2013). |
||
| 27 | A literature survey of benchmark functions for global optimisation problems. |
||
| 28 | International Journal of Mathematical Modelling and Numerical Optimisation, |
||
| 29 | 4(2), 150-194. |
||
| 30 | """ |
||
| 31 | |||
| 57 |
Escape sequences in Python are generally interpreted according to rules similar to standard C. Only if strings are prefixed with
rorRare they interpreted as regular expressions.The escape sequence that was used indicates that you might have intended to write a regular expression.
Learn more about the available escape sequences. in the Python documentation.