question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add more benchmark functions

See original GitHub issue

Since this library is intended for researchers, I think it would be fitting to have a large range of benchmark functions at hand so one does not have to implement them himself. Good sources for such functions are:

  • Wikipedia with a solid collection of benchmark functions and a good overview.
  • Benchmarkfcns, they also have a quite big collection and even classification into different function categories (might be helpful for the documentation). They have fancy pictures and a short description for every benchmark function, as well as a MATLAB implementation.
  • Test Functions Index with a ridiculous amount of benchmark functions. They even classified them by their hardness.

The functions can be implemented in the single_obj.py file. I think a good number to start with is 5 new benchmark functions.

Notes: Please work on the development branch. You can find a good StackOverflow question here.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
whzupcommented, Jul 6, 2018

Welcome @jayspeidell, I’m glad you’re interested! Sure go ahead! 👍 If you have any questions about the project or the GitHub process don’t hesitate to comment on this issue. If you have urgent questions you can also use the gitter chat. Log in using your GitHub account and post your issue 😄.

2reactions
jayspeidellcommented, Jul 6, 2018

I can work on this in the next week or so if it’s still open. I looked through the code and project structure and implementing new benchmark functions seems pretty straighforward. I haven’t contributed to any projects before, but I’m learning about particle swarm optimization and this project is interesting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Benchmarking in Golang: Improving function performance
Improve your Golang application's performance by running benchmarks with built-in tools like the testing package and the go tool.
Read more >
Add benchmarks | Substrate_ Docs - Substrate Documentation
This guide illustrates how to write a simple benchmark for a pallet, test the benchmark, and run benchmarking commands to generate realistic estimates...
Read more >
Benchmark Function - an overview | ScienceDirect Topics
Benchmark functions are groups of functions that can be used to test the performance of any optimization problem, such as constrained and unconstrained, ......
Read more >
New hard benchmark functions for global optimization - arXiv
Abstract: In this paper, we present some new unimodal, multimodal, and noise test functions to assess the performance of global optimization ...
Read more >
New Benchmark Functions for Single-Objective Optimization ...
In this paper, we develop new benchmark functions for bound-constrained single-objective optimization that are based on a zigzag function.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found