Skip to content

3 implementations of genetic algorithms for numerical optimization problems.

Notifications You must be signed in to change notification settings

crisefd/TGA-HTGA-CCHTGA

Repository files navigation

Implementation of a Traditional Genetic Algorithm, the Hybrid-Taguchi Genetic Algorithm and the Cooperative Coevolutive Hybrid-Taguchi Genetic Algorithm

References

Installation in Unix Systems

ASDF Version Manager

  • Please follow the installation instructions outlined here
  • Then proceed to install ruby plugin

Ruby (2.7.0 version)

  • Install the version

$ asdf install ruby 2.7.0

  • Set this version either as global or local

$ asdf global ruby 2.7.0

$ asdf local ruby 2.7.0

Required Gems

  • Install the dependencies with

$ bundler install

Running

  • You run the genetic algorithms with

$ ruby <algorithm> <path to ini test file(s)>

The available values for <algorithm> are tga, htga, cchtga, tga_knapsack and htga_knapsack

<path to ini test file(s)> is usually a .ini file or subdirectory in the test_cases/ directory

For example: $ ruby execute.rb htga test_cases/htga/f2_test.ini

  • Running the tests

You go to each of the algorithms folders and execute: $ bundle exec cucumber

About

3 implementations of genetic algorithms for numerical optimization problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published