How to define discrete variables in GA

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
MATLAB mathematical toolbox documentation

Categories

Products

Release

R2020b

Asked:

on 28 Apr 2021

Answered:

on 29 Apr 2021

Community Treasure Hunt

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

Start Hunting!