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 次查看(过去 30 天)
1.PNGso Cold ≤ Cnew
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?

回答(1 个)

Yogesh Khurana
Yogesh Khurana 2019-10-16
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!

类别

Help CenterFile Exchange 中查找有关 Particle Swarm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by