登录
首页 » Visual C++ » knapsackproblem

knapsackproblem

于 2010-03-09 发布 文件大小:41KB
0 242
下载积分: 1 下载次数: 4

代码说明:

   有不同重量的物品n件,求从这n件物品中任取一部分物品放入背包,使选中的物品的总重量不超过指定的限制重量,但选中物品的价值之合为最大。即任意给定物品个数及它们的重量和价值,在最大的限制重量一定的情况下,为了使价值最大,选出最优解。(There are different weights of items n pieces from n items in order to obtain any portion of the goods into the backpack, so that the total weight of the selected items does not exceed the specified weight limit, but the combined value of selected items as the greatest. That any given number of items and their weight and value limits the maximum weight of certain circumstances, in order to value the most, select the optimal solution.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • StudentDB
    使用VS2012CDatabase、CRecordSet类实现与Sql2008进行数据通信功能。( 翻译文字或网页 使用VS2012CDatabase、CRecordSet类实现与Sql2008进行数据通信功能。 请键入文字或网站地址,或者上传文档。 取消 Shǐyòng VS2012CDatabase,CRecordSet lèi shíxiàn yǔ Sql2008 jìnxíng shǔ jù tōngxìn gōngnéng. 您是不是要找: 使用VS2012 CDatabase、CRecordSet类实现与Sql2008进行数据通信功能。Use VS2012CDatabase, CRecordSet class implements and Sql2008 data communication capabilities.)
    2013-12-05 14:12:30下载
    积分:1
  • newreport
    一个使用C++编写的报表程序,根据Excel模板生成录入界面,能直接录入数据,或者合并多个相同模板的Excel文件.(Reports written in C++ programs, according to an Excel template to generate input interface, can directly input data, or merge multiple identical template Excel file)
    2015-01-26 18:03:22下载
    积分:1
  • MFC20100619221344
    这是MFC串口编程的具体步骤 对学串口编程有很大帮助(This is the MFC programming serial port programming of specific steps to learn of great help)
    2010-06-19 22:21:11下载
    积分:1
  • FormBorder
    VB在运行时动态改变窗体的属性信息,有需要的下。(VB dynamically at runtime to change the form of attribute information, there is need for the next.)
    2013-08-21 10:15:41下载
    积分:1
  • accessrightbackup
    此程序用来备份服务器上的文件夹访问权限。(the procedure used to the backup server folder permissions.)
    2007-03-28 13:54:27下载
    积分:1
  • change
    用于将网络边关系转换成matlab可用的临近矩阵。(Used to convert the network edge into matlab available close relationship matrix.)
    2013-12-12 16:37:24下载
    积分:1
  • how_many_fibs
    Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b]. (Recall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1+ fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b]. )
    2009-11-27 15:18:02下载
    积分:1
  • OgreSkeletalanimtion
    有关Ogre中骨骼动画这方面的几份资料的汇总包括源码(For Ogre in skeletal animation in this regard, including a summary of several data source)
    2013-07-30 11:11:07下载
    积分:1
  • serialPort
    调试串口的程序,本程序运行于PC机,是开发串口电路的好帮手。(Debug serial procedures, the program runs on PC, is to develop a good helper serial circuit.)
    2007-09-17 13:27:21下载
    积分:1
  • FlowLayoutPalnel
    Teechart 动态加载,实现同一界面显示多个图形,适用于实时数据采集显示,自动分屏,经实际测试验证(Teechart dynamic loading to achieve the same interface to display multiple graphs, for real-time data acquisition and display, automatic screen, the real test verification)
    2016-06-13 12:12:18下载
    积分:1
  • 696516资源总数
  • 106618会员总数
  • 4今日下载