Optimization Problem with Fixed Discreet Variables
1 次查看(过去 30 天)
显示 更早的评论
Hello!
My problem is relatively simple, but I can't find a way to make it.
I have 14 parts of type A and 14 parts of type B and their weights. I need to group they in 7 sets containing 2 of each (each part can be used only once). I want to group in two different ways:
- Sort the parts so Set1 is in total the lightest one, Set2 the second lightest one and so on;
- Sort the parts so all sets are as close as possible in weight. Would mean targeting the smallest StdDev of the total weight of each set;
Anyone can help?
Regards,
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!