| Conditions | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """Implementation of Schwefel function. |
||
| 15 | Global minimum: |
||
| 16 | f(x*) = 0, at x* = (420.9687,...,420.9687) |
||
| 17 | |||
| 18 | LaTeX formats: |
||
| 19 | Inline: $f(\textbf{x}) = 418.9829d - \sum_{i=1}^{D} x_i sin(\sqrt{|x_i|})$ |
||
| 20 | Equation: \begin{equation} f(\textbf{x}) = |
||
| 21 | 418.9829d - \sum_{i=1}^{D} x_i |
||
| 22 | sin(\sqrt{|x_i|}) \end{equation} |
||
| 23 | Domain: $-500 \leq x_i \leq 500$ |
||
| 24 | |||
| 25 | Reference: https://www.sfu.ca/~ssurjano/schwef.html |
||
| 26 | """ |
||
| 54 |
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.