| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # encoding=utf8 |
||
| 7 | Author: Lucija Brezočnik |
||
| 8 | |||
| 9 | License: MIT |
||
| 10 | |||
| 11 | Function: Schwefel function |
||
| 12 | |||
| 13 | Input domain: |
||
| 14 | The function can be defined on any input domain but it is usually |
||
| 15 | evaluated on the hypercube x_i ∈ [-500, 500], for all i = 1, 2,..., D. |
||
| 16 | |||
| 17 | Global minimum: |
||
| 18 | f(x*) = 0, at x* = (420.9687,...,420.9687) |
||
| 19 | |||
| 20 | LaTeX formats: |
||
| 21 | Inline: $f(\textbf{x}) = 418.9829d - \sum_{i=1}^{D} x_i sin(\sqrt{|x_i|})$ |
||
| 22 | Equation: \begin{equation} f(\textbf{x}) = |
||
| 23 | 418.9829d - \sum_{i=1}^{D} x_i |
||
| 24 | sin(\sqrt{|x_i|}) \end{equation} |
||
| 25 | Domain: $-500 \leq x_i \leq 500$ |
||
| 26 | |||
| 27 | Reference: https://www.sfu.ca/~ssurjano/schwef.html |
||
| 28 | """ |
||
| 56 |