Skip to main content
Ctrl+K
CBX v0.1.6 documentation - Home CBX v0.1.6 documentation - Home
  • User Guide
  • API Reference
  • GitHub
  • User Guide
  • API Reference
  • GitHub

Section Navigation

  • Dynamics
  • Schedulers
  • Test Objectives
    • cbx.objectives.Ackley
    • cbx.objectives.Ackley_multimodal
    • cbx.objectives.Bukin6
    • cbx.objectives.cross_in_tray
    • cbx.objectives.drop_wave
    • cbx.objectives.Easom
    • cbx.objectives.eggholder
    • cbx.objectives.Himmelblau
    • cbx.objectives.Holder_table
    • cbx.objectives.McCormick
    • cbx.objectives.Michalewicz
    • cbx.objectives.Rastrigin
    • cbx.objectives.Rastrigin_multimodal
    • cbx.objectives.Rosenbrock
    • cbx.objectives.snowflake
    • cbx.objectives.three_hump_camel
  • Plotting
  • Examples
    • Training neural networks with CBO
    • A simple example showcasing CBX
    • Custom Noise CBX
    • Polarized CBO
    • 1D Example
    • Visualiszing CBX dynamics
    • Consensus Based Sampling
    • Performance Evaluation
  • User Guide
  • Test Objectives
  • cbx.objectives.eggholder

cbx.objectives.eggholder#

class cbx.objectives.eggholder[source]#

Bases: cbx_objective

Eggholder

The Eggholder function is a function with many local minima and one global minimum [1]. It is defined as

\[f(x,y) = -(y+47)\cdot \sin\left(\sqrt{\left|y+x/2+47\right|}\right) - x\cdot \sin\left(\sqrt{\left|x-y-47\right|}\right).\]
Parameters:

None

Visualization#

(Source code, png, hires.png, pdf)

../../_images/cbx-objectives-eggholder-1.png

References

[1]

https://www.sfu.ca/~ssurjano/egg.html

previous

cbx.objectives.Easom

next

cbx.objectives.Himmelblau

On this page
  • eggholder
Show Source

© Copyright 2024, Tim Roith.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.0.