Skip to content

mcga

Machine Coded Genetic Algorithms for Real-Valued Optimization Problems

v3.0.9 · Dec 10, 2025 · GPL (>= 2)

Description

Machine coded genetic algorithm (MCGA) is a fast tool for real-valued optimization problems. It uses the byte representation of variables rather than real-values. It performs the classical crossover operations (uniform) on these byte representations. Mutation operator is also similar to classical mutation operator, which is to say, it changes a randomly selected byte value of a chromosome by +1 or -1 with probability 1/2. In MCGAs there is no need for encoding-decoding process and the classical operators are directly applicable on real-values. It is fast and can handle a wide range of a search space with high precision. Using a 256-unary alphabet is the main disadvantage of this algorithm but a moderate size population is convenient for many problems. Package also includes multi_mcga function for multi objective optimization problems. This function sorts the chromosomes using their ranks calculated from the non-dominated sorting algorithm.

Downloads

365

Last 30 days

10437th

984

Last 90 days

4K

Last year

Trend: -6.2% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies GA Rcpp mcga

Version History

new 3.0.9 Mar 10, 2026
updated 3.0.9 ← 3.0.7 diff Dec 9, 2025
updated 3.0.7 ← 3.0.6 diff Nov 26, 2023
updated 3.0.6 ← 3.0.3 diff Aug 19, 2023
updated 3.0.3 ← 3.0.1 diff May 12, 2018
updated 3.0.1 ← 3.0 diff May 11, 2016
updated 3.0 ← 2.0.9 diff Mar 24, 2016
updated 2.0.9 ← 2.0.7 diff Mar 24, 2014
updated 2.0.7 ← 2.0.6 diff Apr 3, 2013
updated 2.0.6 ← 2.0.5 diff Oct 30, 2012
updated 2.0.5 ← 2.0.4 diff Jan 8, 2012
updated 2.0.3 ← 2.0.2 diff Jan 5, 2012
updated 2.0.4 ← 2.0.3 diff Jan 5, 2012
updated 2.0.2 ← 2.0.1 diff Oct 16, 2011
updated 2.0.1 ← 2.0 diff Jun 24, 2011
updated 2.0 ← 1.2.1 diff Jun 20, 2011
updated 1.2 ← 1.1 diff Jan 10, 2011
updated 1.2.1 ← 1.2 diff Jan 10, 2011
updated 1.1 ← 1.0 diff Dec 22, 2010
new 1.0 Dec 12, 2010