https://github.com/jbytecode/mccga
Machine-coded Compact Genetic Algorithms for real-valued optimization problems
https://github.com/jbytecode/mccga
julia optimization optimization-algorithms
Last synced: 10 months ago
JSON representation
Machine-coded Compact Genetic Algorithms for real-valued optimization problems
- Host: GitHub
- URL: https://github.com/jbytecode/mccga
- Owner: jbytecode
- License: mit
- Created: 2022-01-25T16:56:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T12:55:19.000Z (about 1 year ago)
- Last Synced: 2025-01-29T05:34:09.731Z (11 months ago)
- Topics: julia, optimization, optimization-algorithms
- Language: Julia
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Warning: This algorithm is included in the Metaheuristics.jl package; please use the version available in that package.
__________________________________________
# MCCGA
Machine-coded Compact Genetic Algorithms for real-valued optimization problems in Julia
## Installation
```julia
] add https://github.com/jbytecode/MCCGA.git
```
## Updating the package
```julia
] update
```
## Basic Usage
```julia
function f(x)
return (x[1] - 3.14159265)^2 + (x[2] - exp(1.0))^2
end
lower = [-100.0, -100.0]
upper = [100.0, 100.0]
result = MCCGA.mccga(
lower = lower,
upper = upper,
costfunction = f,
popsize = 100,
maxsamples = 10000,
)
println(result)
```
## Citation
- Satman, M. H. & Akadal, E. (2020). Machine Coded Compact Genetic Algorithms for Real Parameter Optimization Problems . Alphanumeric Journal , 8 (1) , 43-58 . DOI: 10.17093/alphanumeric.576919
- Mehmet Hakan Satman, Emre Akadal, Makine Kodlu Hibrit Kompakt Genetik Algoritmalar Optimizasyon Yöntemi, Patent, TR, 2022/01, 2018-GE-510239