MATLAB Answers

How to define discrete variables in GA

5 views (last 30 days)
fedjoun ali
fedjoun ali on 28 Apr 2021
Answered: Alan Weiss on 29 Apr 2021
Hi
I need to optimize a function which has 8 variables by GA tool (genetic algorithm): beta(i) and psi(i) where i:1:4
How can i define discrete variables in GA (genetic algorithm).
I use GA tool.

Answers (1)

Alan Weiss
Alan Weiss on 29 Apr 2021
Alan Weiss
MATLAB mathematical toolbox documentation

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!