EvoloPy
EvoloPy copied to clipboard
User defined function
I am new to coding and I was wondering if it is possible to use the Evolopy framework with a user-defined function other than the benchmark functions. If so could you please kindly explain how that could be done?
You just need to do the following:
- Add your function to the 'benchmark.py' file
- Add the function (name, lower bound, upper bound, and dimension) to 'getFunctionDetails' function at the 'benchmark.py' file
- Add the function name to the 'objectivefunc' list at 'example.py' file
Hope this helps
Please watch this video for an illustration of how to add a function to the framework: https://www.youtube.com/watch?v=CGFRbbR4vvI
Is there now way to make using your framework for non benchmark functions more convinient?
You can create any function you'd like that needs to be optimized, does not need to be a benchmark function. You can find an illustration in the following video: https://youtu.be/CGFRbbR4vvI