首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,...

一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,...

资 源 简 介

一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,1≤i≤n,1≤j≤m) 。问如何分配,才使国家得到最大的盈利L 二.算法的基本思想: 利用动态规划算法的思想,设将i台设备分配给j-1个车间,可以为国家得到最大利润Li (j-1)(1≤i≤n,1≤j≤m),那么将这i台设备分配给j个车间,第j个车间只能被分配到0~i台,所以我们只要算出当第j个车间分配到t(0<=t<=i)台时提供的最大利润Lt(j-1)+C(i-t)j, -First, the problem: a factory according to schedule, the proposed n Taiwan, the same equipment m allocated to the workshop, the workshop was such a device can provide a profit for the state Ci j (i piece of equipment available to the workshop will be No. j profits, 1 ≤ i ≤ n, 1 ≤ j ≤ m). How to allocate the question before the country to obtain the greatest profit of L 2. Algorithm the basic idea: the use of dynamic programming algorithm based i piece of equipment will be allocated to the j-1 workshop, you can get maximum profits for the state Li (j-1) (1 ≤ i ≤ n, 1 ≤ j ≤ m) , then the i piece of equipment assigned to the j of the workshop, the first workshop j can only be assigned to the 0 ~ i-Taiwan, s

文 件 列 表

用动态规划法求解资源分配问题
Project1.~bpr
Project1.cpp
Project1.exe
Project1.obj
Project1.res
Project1.~cpp
Unit1.obj
Project1.tds
Unit1.~cpp
Unit1.~h
Unit1.~dfm
Unit1.~ddp
Unit1.cpp
Unit1.h
Unit1.dfm
Unit1.ddp
Project1.bpr
VIP VIP
  • huangshu 5小时前 成为了本站会员

  • 贾金达 11小时前 成为了本站会员

  • 云梦无痕 11小时前 成为了本站会员

  • 1天前 成为了本站会员

  • huangshu 1天前 成为了本站会员

  • Wx 7天前 成为了本站会员

  • adalyx 7天前 成为了本站会员

  • 1周前 成为了本站会员

  • 知还 1周前 成为了本站会员

  • zcl 1周前 成为了本站会员

0.291902s