The Egg Holder function is a difficult to optimize function based on the definition $$f(\mathbf{x}) = \sum_{i = 1}^{n-1} \left[-(\mathbf{x}_{i + 1} + 47)\sin\sqrt{|\mathbf{x}_{i + 1} + 0.5 \mathbf{x}_{i} + 47|} - \mathbf{x}_i\sin(\sqrt{|\mathbf{x}_i - (\mathbf{x}_{i + 1} - 47)|})\right]$$ subject to \(-512 \leq \mathbf{x}_i \leq 512\) for \(i = 1, \ldots, n\).
makeEggholderFunction()
[smoof_single_objective_function
]