| Conditions | 3 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | """Implementation of Rosenbrock benchmark function. |
||
| 14 | |||
| 15 | Global minimum: |
||
| 16 | f(x*) = 0, at x* = (1,...,1) |
||
| 17 | |||
| 18 | LaTeX formats: |
||
| 19 | Inline: $f(x) = \sum_{i=1}^{D-1} (100 (x_{i+1} - x_i^2)^2 + (x_i - 1)^2)$ |
||
| 20 | Equation: \begin{equation} |
||
| 21 | f(x) = \sum_{i=1}^{D-1} (100 (x_{i+1} - x_i^2)^2 + (x_i - 1)^2) |
||
| 22 | \end{equation} |
||
| 23 | Domain: $-30 \leq x_i \leq 30$ |
||
| 24 | |||
| 25 | Reference paper: |
||
| 26 | Jamil, M., and Yang, X. S. (2013). |
||
| 27 | A literature survey of benchmark functions for global optimisation problems. |
||
| 55 |
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.