NP-hard

来源: dynamic 2008-09-13 09:23:06 [] [旧帖] [给我悄悄话] 本文已被阅读: 0 次 (363 bytes)
Suppose there is just one boat and the utility for every ppl getting on that boat is 1. The problem then becomes finding the maximum number of ppl that can get on the boat simultaneously, which is the maximum independent set problem and hence NP-hard.

The two extensions you mentioned are also NP-hard.

My suggestion is looking for heuristics...

所有跟帖: 

谢谢,不过。。。 -说了就走- 给 说了就走 发送悄悄话 说了就走 的博客首页 (305 bytes) () 09/13/2008 postreply 21:31:27

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”