Azzera filtri
Azzera filtri

selection of parameters by genetic algorithm

2 visualizzazioni (ultimi 30 giorni)
Hi to all, I have been studying on a optimization problem. My aim is selecting of parameters and assiging them to some other parameters. More detailly, I have 16 material properties, and I should select 8 properties from these 16 parameters each time and assing them to the strucutre. This process will continue until obtaining the best 8 couple. I have done to assign 8 parameters to the strucuture. However, ı am stuck at selection of 8 parameters and looping this process by genetic algorithm (ga).Thank you.

Risposta accettata

Alan Weiss
Alan Weiss il 16 Feb 2021
I think that you should use Mixed Integer ga Optimization. Create a binary variable x with 16 components. Create the linear constraints
A = [ones(1,16);-ones(1,16)];
b = [8.5;-7.5];
which mean sum(x) <= 8.5 and -sum(x) <= -7.5 or equivalently sum(x) >= 7.5. This should keep the sum of elements in x at exactly 8.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

Più risposte (1)

Mirhan
Mirhan il 2 Mar 2021
Thank you for your time sir.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by