Skip to content

Commit 1397b1e

Browse files
committed
Update README.md
1 parent 582aede commit 1397b1e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ best = FA.run(function=sphere, dim=10, lb=-5, ub=5, max_evals=10000)
5050
print(best)
5151
```
5252

53+
### Test functions
54+
55+
In the `fireflyalgorithm.problems` module, you can find the implementations of 33 popular optimization test problems. Additionally, the module provides a utility function, `get_problem`, that allows you to retrieve a specific optimization problem function by providing its name as a string:
56+
57+
```python
58+
from fireflyalgorithm.problems import get_problem
59+
60+
# same as from fireflyalgorithm.problems import rosenbrock
61+
rosenbrock = get_problem('rosenbrock')
62+
```
63+
64+
For more information about the implemented test functions, [click here](Problems.md)
65+
5366
### Command line interface
5467

5568
The package also comes with a simple command line interface which allows you to evaluate the algorithm on several

0 commit comments

Comments
 (0)