- specify the input position as an integer variable with lower bound 0 and upper bound 10. Then, inside the objective function, assign c = 50 + Variable * 2.5 . You could pass the initial value and step in using function parameterization.
- Outside of the function, construct c=50:2.5:75 . Now specify the input position as an integer variable with lower bound 1 and upper bound length(c ) . Use function parameterization to pass c into the objective function. Then, inside the objective function, each place you need the value, index that passed-in c vector at the value of the input position.
how is it possible to introduce the lead value of the inputs of GA in matlab
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear All,
I want to solve a multi objective problem with Genetic algorithm tool box in matleb.
I have four inputs as below:
a=1:10
b=1:10
c=50:2.5:75
d=0.73:0.01:0.77
In GA toolbox I can only determin the lower and upper bond. How is it possible to introduce the lead values of each parameter, like 2.5 for c and 0.01 for d.
I would appreciate your response in advance
0 Commenti
Risposta accettata
Walter Roberson
il 19 Ott 2021
I want to solve a multi objective problem with Genetic algorithm tool box in matleb.
Note that ga() can only be used for single objectives, but gamultiobj() can be used for multiple objectives.
How is it possible to introduce the lead values of each parameter, like 2.5 for c and 0.01 for d.
It is not possible.
There are few possible work-arounds:
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Genetic Algorithm in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!