ewarchul / cec

Tidied up CECs (20{14, 15, 17,19, 21, 22}) codebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMocka-test

About

This repository contains a tidied up codebase of CEC, i.e. set of optimization benchmark problems.

During working with the official code of the benchmark I had encountered minor issues with memory management so I decided to tidy up the code and fix those issues. Modified code is equivalent to the official one - you can run tests and check it by yourself.

Currently, the repository contains the modified implementation and their technical specifications (check doc/ directory) of the following editions:

  • CEC 2022 Special Session and Competition on Single Objective Bound Constrained Numerical Optimization
  • CEC 2021 Special Session and Competition on Single Objective Bound Constrained Numerical Optimization
  • CEC 2019 Special Session and Competition on Single Objective Bound Constrained Numerical Optimization
  • CEC 2017 Special Session and Competition on Single Objective Bound Constrained Numerical Optimization
  • CEC 2015 Learning-based Real-Parameter Single Objective Optimization
  • CEC 2014 Special Session and Competition on Single Objective Bound Constrained Numerical Optimization

For more information about the benchmark check the official repository of the CEC availabled under the following link:

https://github.com/P-N-Suganthan?tab=repositories.

Simple example of how to use given interface is in the main.c file.

Tests

To run test you need CMocka unit test framework and CMake (3.16.3v). If you meet the requirements then execute test.sh script.

Nix

If you use Nix package manager type command written below:

nix-shell --command "bash test.sh"

About

Tidied up CECs (20{14, 15, 17,19, 21, 22}) codebase

License:GNU General Public License v3.0


Languages

Language:C 99.1%Language:CMake 0.8%Language:Shell 0.1%Language:Nix 0.1%