补量算法 [英] Fill volume algorithm

查看:120
本文介绍了补量算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个盒子的一些尺寸长,宽,高。

I have a Box with some dimension length, width, height.

我有不同的长度,宽度,高度的物品。

I have items with different length, width, height.

有没有一种现有的算法,可确定最佳的项目用来把箱子里?

Is there an existing algorithm that can determine the best items to use to put inside the box?

推荐答案

这就是所谓的装箱/下料/背包问题,它是NP难。一般来说,你只能得到一个近似解用试探法,例如见

This is called a Bin Packing/Cutting Stock/Knapsack problem, and it is NP hard. In general you can only get an approximate solution by using heuristics, see for example

<一个href="http://en.wikipedia.org/wiki/Knapsack_problem">http://en.wikipedia.org/wiki/Knapsack_problem

<一个href="http://en.wikipedia.org/wiki/Bin_packing_problem">http://en.wikipedia.org/wiki/Bin_packing_problem

<一个href="http://en.wikipedia.org/wiki/Cutting_stock_problem">http://en.wikipedia.org/wiki/Cutting_stock_problem

这篇关于补量算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆