登录
首页 » Java » Soct

Soct

于 2012-06-14 发布 文件大小:67KB
0 220
下载积分: 1 下载次数: 4

代码说明:

   假设有一个能装入总体积为T的背包和n件体积分别为w1 , w2 , … , wn 的物品,能否从n件物品中挑选若干件恰好装满背包,即使w1 +w2 + … + wn=T,要求找出所有满足上述条件的解。例如:当T=10,各件物品的体积{1,8,4,3,5,2}时,可找到下列4组解:(1,4,3,2),(1,4,5),(8,2),(3,5,2)。 [需求分析](Suppose there are a load of the backpack of the total volume of T and n volumes were w1, w2, ... wn items, whether selected from n items a number of exactly filled backpack, even if w1+w2+ ...+ wn = T, find out the solution of all the above conditions are met. For example: when T = 10, the volume of items {1,8,4,3,5,2}, can be found in the following four solutions: (1,4,3,2), (1,4,5 ), (8,2), (3,5,2). [Needs Analysis])

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

发表评论

0 个回复

  • sca_pec_cyl_efie_mm
    矩量法的fortran程序,利用矩量法求解球散射的程序,希望大家好好学习(mom fortran program)
    2021-02-21 12:59:42下载
    积分:1
  • Outside-the-penalty-function-method
    外点罚函数方法,可以用来求解约束优化问题,也可以用来被调用在智能算法中(Point outside the penalty function can be used for solving constrained optimization problems, can also be used in intelligent algorithm called)
    2011-10-16 19:13:57下载
    积分:1
  • 自定义k-e方程
    实现用fluent udf自定义k~e方程(Define the k~e equation by using fluent udf function.)
    2021-01-15 02:38:45下载
    积分:1
  • Numerical Recipes in Fortran 77
    fortran数值计算方面的一本好书,计算机数值算法的圣经。(Numerical Recipes in Fortran 77 The Art of Scientific Computing Second Edition Volume 1 of Fortran Numerical Recipes)
    2020-11-25 18:09:32下载
    积分:1
  • An-efficient-augmented-
    基于经典的增广拉格朗日乘子法, 对求解一类带有特定结构(主要是针对凸规划)的非光滑等式约束优化问题, 我们提出、分析并测试了一个新算法. 在极小化增广拉格朗日函数的每一步迭代中, 该算法有效结合了带有非单调线性搜索的交替方向技术, 我们建立了算法的收敛性, 并用它来求解在带有全变差正则化的图像恢复问题.(Based on the classic augmented Lagrangian multiplier method, we propose, analyze and test an algorithm for solving a class of equality-constrained nonsmooth optimization problems (chiefly but not necessarily convex programs) with a particular structure. The algorithm effectively combines an alternating direction technique with a nonmonotone line search to minimize the augmented Lagrangian function at each iteration. We establish convergence for this algorithm, and apply it to solving problems in image reconstruction with total variation regularization.)
    2017-01-05 15:54:19下载
    积分:1
  • wavePsvm
    小波分解与最小二乘支持向量机,用于天线故障诊断。(Wavelet decomposition and least squares support vector machine for antenna diagnostics.)
    2013-08-25 15:37:45下载
    积分:1
  • ConQuest_Round-1
    book of document including test
    2016-03-14 23:08:40下载
    积分:1
  • DVHop
    针对运用最小二乘法求解DV-Hop定位算法带来的节点定位误差较大的问题,提出基于代数重建法的DV-Hop定位算法(Least square method for the use of DV-Hop localization algorithm node localization errors caused by the larger issues, proposed algebraic reconstruction method based on DV-Hop localization algorithm)
    2021-04-18 16:48:52下载
    积分:1
  • zipf-random
    随机数生成程序,该随机数呈zipf分布,就是大家常说对于内容的访问遵循80/20原则,也就是20 的内容,会占有80 的访问量。(Random number generator, the zipf was distributed random numbers, that is, we often say that the access to the content to follow the 80/20 principle, which is 20 of the content will occupy 80 of visits.)
    2013-06-27 17:56:45下载
    积分:1
  • chap5_5
    基于自适应在线遗传算法整定的PID控制,每个采样时间分别对PD参数进行整定(based on adaptive online genetic algorithm tuning PID control, sampling each time the PD parameters tuning)
    2007-01-23 11:52:38下载
    积分:1
  • 696516资源总数
  • 106642会员总数
  • 12今日下载