登录
首页 » matlab » mathmodel2

mathmodel2

于 2006-04-13 发布 文件大小:13KB
0 138
下载积分: 1 下载次数: 0

代码说明:

说明:  1.1 背包问题 有一个徒步旅行者,已知他能承受的旅行背包的重量不超过a(kg)。设有n种物品可供他选择装入背包,这n种物品分别编号为1,2,…,n。其中第i种物品每件的重量为ai(kg),其使用价值(指一件第i种物品对旅行者来说所带来的好处的一种数量指标)为ci(i=1,2,…,n)。问这位旅行者应如何选择携带这n种物品的件数,使得总价值最大? (1.1 knapsack problem is a hikers. he is known to travel to withstand the weight of the backpack not exceed a (kg). N Species with articles for his choice loaded backpack, n product were numbered 1, 2, ..., n. I first of which product each ai of the weight (kg), its value (i refers to a section of the types of items travelers the benefits brought by a number of indicators) for the ci (i = 1, 2, ..., n). Asked how travelers who choose to bring this product to the n pieces, making the total value of the largest?)

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

发表评论


0 个回复

  • xindao
    求解任意信道容量的迭代算法,求解方便而且实用。(Channel capacity to solve any of the iterative algorithm, solving convenient and practical.)
    2009-10-28 19:55:50下载
    积分:1
  • time-series-matlab-programming
    时间序列的matlab变成 很详细的介绍(time series for matlab programming)
    2012-06-28 17:34:39下载
    积分:1
  • BESSModel
    说明:  BESS通常用于负载均衡,调峰,负载转移应用等。 此BESS块从工作空间获取每小时负载曲线(kW)输入,并计算电网和电池使用量输出到工作空间。 必须以两列格式准备负载配置文件,其中第一列是从一天的0小时开始的时间。第二列是以kW为单位的功耗。(例如,将SampleLoadProfile.mat加载到工作空间中)。 模拟运行时间是从一天的0小时开始的每小时单位。例如,为了模拟24小时负载配置文件,模拟运行时间设置为23,一周运行时间设置为167,一个月30天运行时间设置为719和31天运行时间设置为743。 在“求解器”选项下的模型配置参数中,设置为固定步长类型并将固定步长(基本采样时间)设置为1并运行模拟。(BESS are commonly used for load leveling, peak shaving, load shifting applications and etc. This BESS Block takes hourly Load Profile (kW) input from workspace and compute the Grid and Battery usage output to workspace. The load profile has to be prepared in two column format, where the first column is time starting from 0 hour of the day. The second column is power consumption in kW unit. (For example, load the SampleLoadProfile.mat into workspace). The simulation run time is in hourly unit starting from 0 hour of the day. For example to simulate a 24 hours load profile, the simulation run time is set to 23, one week run time is set to 167, one month 30 days run time is set to 719 and 31 days run time set to 743. In model configuration parameters under Solver options, set to fixed-step type and set the fixed-step size (fundamental sample time) to 1 and run the simulation.)
    2019-02-28 10:59:38下载
    积分:1
  • read_cif
    Reads CIF file and stroes the information into a strcture array
    2010-01-02 09:53:38下载
    积分:1
  • HopfieldTsp
    人工神经网络的作业。用连续hopfield网络求解的10个城市的旅行商最优路径问题(Artificial neural network operation. With continuous hopfield network of 10 cities to solve the optimal traveling salesman path problem)
    2010-01-22 19:56:32下载
    积分:1
  • Lfnewton
    power system NR load flow code matlab
    2010-11-04 12:44:48下载
    积分:1
  • genetic-algorithm
    一种智能优化算法-遗传算法的matlab源程序(genetic algorithm)
    2013-09-01 17:37:57下载
    积分:1
  • deblur
    这种去模糊的matlab源代码,学生需要可以下载使用(Such deblur the matlab source code, students can download to use )
    2014-11-29 11:09:00下载
    积分:1
  • fangzhen4
    小波阈值去噪的源代码.不同的阈值函数可以修改阈值函数.从而实现功能.(wavelet thresholding source. Different threshold function can change the threshold function. Thus achieving functional.)
    2007-07-08 22:49:52下载
    积分:1
  • Fuzzy-Calculus-Core-
    这是有关模糊集的知识,里面有一些MATLAB仿真代码,希望对大家有帮助(This is the fuzzy set of knowledge, there are a number of MATLAB simulation code, we want to help)
    2011-05-12 10:08:41下载
    积分:1
  • 696518资源总数
  • 104666会员总数
  • 53今日下载