Hi guys, please help me in this question because i'm new in MATLAB. How can i use the multiple knapsack problem to min this cost formula?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
![1.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240636/1.png)
And the Pn is 0 and 1 either open or off the appliance, PRn is [0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.4 0.4 0.4 0.4 0.4], EPt is [100 20 25 396 45 55 16 14 82 10 46 22].
And the last is that able use genetic algortihms to optimal this formula?
0 comentarios
Respuestas (1)
Yogesh Khurana
el 16 de Oct. de 2019
Hi,
The knapsack problem or rucksack problem is a problem in combinatorial optimization. Please refer to the following links providing you some information regarding how to implement the problem in MATLAB:
For using Genetic algorithm to optimize your formula. Please refer to the following link that will show how to create and manage options for Genetic Algorithm functions:
Hope this helps!
0 comentarios
Ver también
Categorías
Más información sobre Particle Swarm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!