selection of parameters by genetic algorithm
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mirhan
el 15 de Feb. de 2021
Respondida: Mirhan
el 2 de Mzo. de 2021
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.
0 comentarios
Respuesta aceptada
Alan Weiss
el 16 de Feb. de 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
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!