一種求解一維裝箱問(wèn)題的近似算法的研究.zip
一種求解一維裝箱問(wèn)題的近似算法的研究,各位速速來(lái)圍觀啊,這可是一篇拿過(guò)省優(yōu)秀本科論文的,里面有源代碼和程序,絕對(duì)好用,論文的思路和程序都是獨(dú)創(chuàng)的,不多說(shuō),這個(gè)對(duì)你覺(jué)得有收獲,下面是具體的論文目錄:摘要一維裝箱問(wèn)題來(lái)源于人們的長(zhǎng)期以來(lái)的生產(chǎn)實(shí)踐,是一種組合優(yōu)化問(wèn)題。給定有窮個(gè)物體,每個(gè)物體的重量是已知的正實(shí)數(shù)。給定足夠多個(gè)空箱子,問(wèn)題是要在滿足兩個(gè)約束條件的...
該文檔為壓縮文件,包含的文件列表如下:
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/274148.gif)
內(nèi)容介紹
原文檔由會(huì)員 違規(guī)15 發(fā)布
?÷???ù?ùà′?§1?°?£??a?éê?ò??a??1yê?ó?D?±???????μ?£?à???óD?′′ú??oí3ìDò£?????o?ó?£?????μ????·oí3ìDò??ê??à′′μ?£?2??à?μ£??a????????μ?óDê???£?????ê???ì?μ?????????£o
?a òa
ò???×°???êìaà′?′óúè???μ?3¤?úò?à′μ?éú2úêμ?ù£?ê?ò???×éo?ó??ˉ?êìa?£???¨óD??????ì?£???????ì?μ???á?ê?ò??aμ??yêμêy?£???¨×?1??à??????×ó£??êìaê?òa?ú?ú×?á?????ê?ì??tμ??°ìá??£????ùóD??ì?·?μ???×ó?D襣?ê1μ??ùó???×óμ???êy???é?üμ?éù?£á?????ê?ì??tê?£oμúò?£???????ì??ù±£3?íê??£???o?·?μ?ò?????×ó?Dè¥?£2??ü????ì?·???3é???é?£μú?t£???????×ó?D?ù·?μ???ì?μ???á???oí?ù2??@@?1yò????àí?μ?é??T£??a??é??Tê?ò???ò??aμ??yêμêy?£
ò???×°???êìa??óDoü??μ?àí?????μoíêμ?ê???μ?£ò?·???£??§??ò??-?¤?÷ò???×°???êìaê?ò???NP???è?êìa£?òò′?ò???×°???êìa??óDoü??μ?àí?????μ?£áíò?·???£?ò???×°???êìa3????úêμ?êéú2úμ?ò?D?áìóò£?òò′?ò2??óDoü??μ?êμ?ê???μ?£
?ù???a?1£?1ú?úía?§??ìá3?á?Dí?àó?à′?ó?aò???×°???êìaμ???????·¨oí?ü????·¨?£ò?·???£?????μ?×?ó???·¨?ù?¨ê±??ì?3¤£?êμ?ê2????T·¨èìêü?£áíò?·???£??ü????·¨óéóú?é?ü?ì?ùμ?éú3é×?ó??a?ò???ó?ü×?ó??a???aêμ?êéú2ú2????ù1?·o2éó??£
è?àà°???ì?íùèY?÷?D×°£?ò?óD???§?êò?é?μ??-?é?£?aD?éú???-?é?éòyμ?3???D§?êμ???·¨?£±???ìá3?á?ò????aè???·¨?£??·¨óéèy??2?·?×é3é?£μúò?2?·?ê??μDò×???êêo???·¨£?ó?óúéú3é3?ê??a?£μú?t2?·?ê?áúóò???÷??·¨?£???¨ò????a£?ó?áúóò???÷??·¨?éò?í¨1yμü′ú?????a???a?£±???μ?áúóò?¨ò?μ?????à′?′óú?°ìì??μà?eóDóà??212?×??±?£μúèy2?·?ê?ì??ó2????£ì??ó2???ó?óúì?3???2?×?ó??a£??????÷òy?òóD?£í?μ???óò£?′ó??ìá????·¨μ?D§?ê?£ì??ó2???μ?????à′?′ê??°èyê?áù??×??aé??±?£
±???μ?3ìDò????á?ò?×é1217??1ú?ê1?è?μ??êìaêμày?£?a×é?êìaêμày·??aá?àà?£μúò?àà?a8???êìaêμày£????°éD?′è·?¨???í1?×?ó??a?£μú?tàà?a9???êìaêμày£????°ò??-è·?¨á????í1?×?ó??a?£?aè???·¨??μúò?àà?êìaêμày?Dμ?6???êìaêμày?ò3?á?ó?μ±?°ò??a×?o??a?êá??àí?μ??a?£?aè???·¨?1?¤?÷á?TEST0068?a???êìaêμàyμ????°ò??a×?o??a?yê??í1?×?ó??a?£?aè???·¨?ì?ùμ??ò3?á?μú?tàà?êìaêμày?Dè?2?9???êìaêμàyμ??í1?×?ó??a?£
?????á1?±í?÷£??aè???·¨ê?ò???óDD§μ??ó?aò???×°???êìaμ??ü????·¨?£
1??ü′ê£o NP???è£? ?aè?£? áúóò???÷£? ì??ó£? ×°??
Abstract
The one dimensional bin packing problem, which is a famous combinatorial optimization problem, comes from long term practice of human being. The definition of the one dimensional bin packing problem discussed in this paper is as following. Given items and enough identical bins, the weight of each item is a known positive real number. The capacities of all bins are equal. The problem is to pack all items into the bins with the objective of minimizing the number of occupied bins, subject to two following constraints. (1) Each item is packed into exact one bin. Each item cannot be divided into several parts and put into different bins. (2) The sum of weight of all items of each bin cannot exceed its capacity.
The one dimensional bin packing problem is of both highly theoretical and practical values. On one hand, the one dimensional bin packing problem has been proved to be NP-hard. On the other hand, the one dimensional bin packing problem appears in some real world factories.
So far, many exact algorithms and approximation algorithms have been proposed to solve the one dimensional bin packing problem. Exact algorithms require too much computing time and cannot be accepted by workers. On the other hand, approximation algorithms are widely used by workers, since they may give optimal or near optimal solutions quickly.
Mankind have more than several thousands of years of experience to pack items into containers. The experience can induce efficient algorithm. A quasi-human algorithm is presented in this paper, which is composed of three parts. The first part is best fit decreasing algorithm to generate initial solution. The second part is local search algorithm. Given a solution, local search algorithm is used to improve this solution by iterative steps. The idea of the definition of the neighborhood comes from a Chinese motto ?°It is the Way of Heaven to diminish superabundance, and to supplement deficiency?±. The third part is off-trap strategy, which is used to jump off local optimum and guide the search into promising areas, so as to improve the algorithm. The idea of the off-trap strategy comes from a Chinese motto ?°decamping being the best?±.
Computational experiments are carried out on a set of 17 benchmark problems. This set of 17 benchmark instances can be divided into two classes. The first class consists in 8 instances whose optimal solutions are still unknown. The second class consists in 9 instances whose optimal solutions are already known. For 6 out of 8 instances of the first class, our algorithm finds out solutions which are equal to the best known solutions up to now. Our algorithm proves that the best known solution for benchmark instance named as TEST0068 up to now is optimal. For all 9 instances of the second class, our algorithm finds out optimal solutions quickly.
The results show that the quasi-human algorithm is an efficient algorithm for the one dimensional bin packing problem.
Keywords: NP-hard; Quasi-human; Local search; Off-trap; Bin packing
-b..
?a òa
ò???×°???êìaà′?′óúè???μ?3¤?úò?à′μ?éú2úêμ?ù£?ê?ò???×éo?ó??ˉ?êìa?£???¨óD??????ì?£???????ì?μ???á?ê?ò??aμ??yêμêy?£???¨×?1??à??????×ó£??êìaê?òa?ú?ú×?á?????ê?ì??tμ??°ìá??£????ùóD??ì?·?μ???×ó?D襣?ê1μ??ùó???×óμ???êy???é?üμ?éù?£á?????ê?ì??tê?£oμúò?£???????ì??ù±£3?íê??£???o?·?μ?ò?????×ó?Dè¥?£2??ü????ì?·???3é???é?£μú?t£???????×ó?D?ù·?μ???ì?μ???á???oí?ù2??@@?1yò????àí?μ?é??T£??a??é??Tê?ò???ò??aμ??yêμêy?£
ò???×°???êìa??óDoü??μ?àí?????μoíêμ?ê???μ?£ò?·???£??§??ò??-?¤?÷ò???×°???êìaê?ò???NP???è?êìa£?òò′?ò???×°???êìa??óDoü??μ?àí?????μ?£áíò?·???£?ò???×°???êìa3????úêμ?êéú2úμ?ò?D?áìóò£?òò′?ò2??óDoü??μ?êμ?ê???μ?£
?ù???a?1£?1ú?úía?§??ìá3?á?Dí?àó?à′?ó?aò???×°???êìaμ???????·¨oí?ü????·¨?£ò?·???£?????μ?×?ó???·¨?ù?¨ê±??ì?3¤£?êμ?ê2????T·¨èìêü?£áíò?·???£??ü????·¨óéóú?é?ü?ì?ùμ?éú3é×?ó??a?ò???ó?ü×?ó??a???aêμ?êéú2ú2????ù1?·o2éó??£
è?àà°???ì?íùèY?÷?D×°£?ò?óD???§?êò?é?μ??-?é?£?aD?éú???-?é?éòyμ?3???D§?êμ???·¨?£±???ìá3?á?ò????aè???·¨?£??·¨óéèy??2?·?×é3é?£μúò?2?·?ê??μDò×???êêo???·¨£?ó?óúéú3é3?ê??a?£μú?t2?·?ê?áúóò???÷??·¨?£???¨ò????a£?ó?áúóò???÷??·¨?éò?í¨1yμü′ú?????a???a?£±???μ?áúóò?¨ò?μ?????à′?′óú?°ìì??μà?eóDóà??212?×??±?£μúèy2?·?ê?ì??ó2????£ì??ó2???ó?óúì?3???2?×?ó??a£??????÷òy?òóD?£í?μ???óò£?′ó??ìá????·¨μ?D§?ê?£ì??ó2???μ?????à′?′ê??°èyê?áù??×??aé??±?£
±???μ?3ìDò????á?ò?×é1217??1ú?ê1?è?μ??êìaêμày?£?a×é?êìaêμày·??aá?àà?£μúò?àà?a8???êìaêμày£????°éD?′è·?¨???í1?×?ó??a?£μú?tàà?a9???êìaêμày£????°ò??-è·?¨á????í1?×?ó??a?£?aè???·¨??μúò?àà?êìaêμày?Dμ?6???êìaêμày?ò3?á?ó?μ±?°ò??a×?o??a?êá??àí?μ??a?£?aè???·¨?1?¤?÷á?TEST0068?a???êìaêμàyμ????°ò??a×?o??a?yê??í1?×?ó??a?£?aè???·¨?ì?ùμ??ò3?á?μú?tàà?êìaêμày?Dè?2?9???êìaêμàyμ??í1?×?ó??a?£
?????á1?±í?÷£??aè???·¨ê?ò???óDD§μ??ó?aò???×°???êìaμ??ü????·¨?£
1??ü′ê£o NP???è£? ?aè?£? áúóò???÷£? ì??ó£? ×°??
Abstract
The one dimensional bin packing problem, which is a famous combinatorial optimization problem, comes from long term practice of human being. The definition of the one dimensional bin packing problem discussed in this paper is as following. Given items and enough identical bins, the weight of each item is a known positive real number. The capacities of all bins are equal. The problem is to pack all items into the bins with the objective of minimizing the number of occupied bins, subject to two following constraints. (1) Each item is packed into exact one bin. Each item cannot be divided into several parts and put into different bins. (2) The sum of weight of all items of each bin cannot exceed its capacity.
The one dimensional bin packing problem is of both highly theoretical and practical values. On one hand, the one dimensional bin packing problem has been proved to be NP-hard. On the other hand, the one dimensional bin packing problem appears in some real world factories.
So far, many exact algorithms and approximation algorithms have been proposed to solve the one dimensional bin packing problem. Exact algorithms require too much computing time and cannot be accepted by workers. On the other hand, approximation algorithms are widely used by workers, since they may give optimal or near optimal solutions quickly.
Mankind have more than several thousands of years of experience to pack items into containers. The experience can induce efficient algorithm. A quasi-human algorithm is presented in this paper, which is composed of three parts. The first part is best fit decreasing algorithm to generate initial solution. The second part is local search algorithm. Given a solution, local search algorithm is used to improve this solution by iterative steps. The idea of the definition of the neighborhood comes from a Chinese motto ?°It is the Way of Heaven to diminish superabundance, and to supplement deficiency?±. The third part is off-trap strategy, which is used to jump off local optimum and guide the search into promising areas, so as to improve the algorithm. The idea of the off-trap strategy comes from a Chinese motto ?°decamping being the best?±.
Computational experiments are carried out on a set of 17 benchmark problems. This set of 17 benchmark instances can be divided into two classes. The first class consists in 8 instances whose optimal solutions are still unknown. The second class consists in 9 instances whose optimal solutions are already known. For 6 out of 8 instances of the first class, our algorithm finds out solutions which are equal to the best known solutions up to now. Our algorithm proves that the best known solution for benchmark instance named as TEST0068 up to now is optimal. For all 9 instances of the second class, our algorithm finds out optimal solutions quickly.
The results show that the quasi-human algorithm is an efficient algorithm for the one dimensional bin packing problem.
Keywords: NP-hard; Quasi-human; Local search; Off-trap; Bin packing
-b..