Skip to content

pinouche/bbob_2009

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbob_2009

Functions for the BBOB 2009 optimization challenge (https://coco.gforge.inria.fr/).

In the python file, you will find some of the noiseless benchmark functions used in the bbob 2009 optimization challenge.

Usage

You can run any function from the command line using the run_function.sh script:

./run_function.sh <func_num> <coords> [--seed <seed>] [--degree <degree>]

Example:

./run_function.sh 1 1.0 2.0 3.0
./run_function.sh 13 --seed 100 --degree 3 0.5 -0.5 1.0

Plotting

You can also plot any of the implemented functions in 3D (figures are saved in the plots folder). Currently, the following functions (1-14) are available for plotting in 2D:

1. Sphere Function
2. Ellipsoidal Function
3. Rastrigin Function
4. Büche-Rastrigin Function
5. Linear Slope Function
6. Attractive Sector Function
7. Step-ellipsoidal Function
8. Rosenbrock Function, original
9. Rosenbrock Function, rotated
10. Ellipsoidal Function (High Conditioning)
11. Discus Function
12. Bent Cigar Function
13. Sharp Ridge Function
14. Different Powers Function
uv run python src/main.py <func_num> --plot [--save <filename>]

Example:

uv run python src/main.py 1 --plot --save plot.png

About

Functions for the BBOB 2009 optimization challenge (https://coco.gforge.inria.fr/).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published