登录
首页 » 算法 » 实现背包问题的三种贪心策略,背包问题描述如下: 已知 背包容量M=120 物品种类数n=10 各种物品的总效益pi(i=1,2,………10)...

实现背包问题的三种贪心策略,背包问题描述如下: 已知 背包容量M=120 物品种类数n=10 各种物品的总效益pi(i=1,2,………10)...

于 2022-03-10 发布 文件大小:844.44 kB
0 238
下载积分: 2 下载次数: 1

代码说明:

实现背包问题的三种贪心策略,背包问题描述如下: 已知 背包容量M=120 物品种类数n=10 各种物品的总效益pi(i=1,2,………10) : 50,60,70,80,90,80,70,60,50,40 各种物品的总重量wi(i=1,2………10) : 17,30,25,41,80,70,64,56,47,38 求: 各种物品所取重量占其总重量的比例xi(i=1,2,…..10),满足0

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

发表评论

0 个回复

  • single
    单因素方差分析程序-single-factor analysis of variance procedure
    2022-02-20 10:32:26下载
    积分:1
  • 人脸识别降维算法代码
    里面包含各种人脸识别算法,LDA,PCA,LPP,GE。。。等,一一俱全。这几种都是快速有效的人脸识别算法 ,算法是用matlab实现的,里面都是m文件,需要的朋友要抓住机会,希望对大家有用。
    2022-12-28 20:25:04下载
    积分:1
  • DTMF(Dual Tone Multi Frequency)Recognition Algorithm
           Dual Tone Multi Frequencies (DTMF tones) are two different tones at two ends of a spectrum that are used to send information in telephonic communication mediums. The tones represent numbers 0-9 and the symbols * and #. A series of these numbers may be assigned to individuals as points of contact, as in a phone number, or the numbers can be used to relay other sorts of information.       While it may seem confusing, it should be noted that all numbers on a telephone are assigned two DTMF tones, and in all, seven different frequencies are assigned. Some numbers will have the same lower frequency, but different higher frequency, while others will have the same higher frequency but a different lower frequency. The range is between 697 Hz and 941 Hz for the lower frequencies and 1209 Hz and 1633 Hz for
    2022-06-16 09:51:22下载
    积分:1
  • 数值分析第八版的负担和菲尔斯
    Numerical Anaysis 8th Edition Burden and Faires
    2022-03-11 13:44:04下载
    积分:1
  • 一个用vb编的程序,用图形来计算两直线交点的坐标.
    一个用vb编的程序,用图形来计算两直线交点的坐标.-a vb series with the procedures used to calculate two graphics straight intersection coordinates.
    2022-02-05 05:35:53下载
    积分:1
  • VB6 WIImote头部跟踪
    VB6代码:- 光四德尔斯的Wiimote的的。阅读操作X,4个IR的y轴坐标中。- 请参阅红外的一个图片框的大小不同的十字架取决于距离。玩得开心。 对不起,我的一个法国人的英语不好; O)
    2022-03-12 07:03:36下载
    积分:1
  • AI::Categorizer is a framework for automatic text categorization. It consists of...
    AI::Categorizer is a framework for automatic text categorization. It consists of a collection of Perl modules that implement common categorization tasks, and a set of defined relationships among those modules
    2022-05-30 09:19:04下载
    积分:1
  • 一种混杂粒子群优化算法,通过单纯形加速优化过程
    一种混杂粒子群优化算法,通过单纯形加速优化过程-A hybrid particle swarm optimization algorithm, to accelerate the adoption of simplex optimization process
    2022-06-16 04:09:21下载
    积分:1
  • FuzzyClusteringToolbox
    Fuzzy聚类工具箱,含4种评价方式,内有文档及注释-FuzzyClusteringToolbox
    2022-11-14 05:30:04下载
    积分:1
  • Vaddin 框架不加宽
    组件的基类和接口提供了大量的功能。让我们看看一些最常用的功能。功能未在此处可以找到从 Java API 参考。 该接口定义的若干属性,您可以检索或操纵与相应 setter 和 getter 方法。
    2023-01-09 05:20:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载