You could construct all subsets, check that the weight is less than the weight of the knapsack, and then choose the subset with the maximum value.
你可以构建所有子集,检查重量是否小于背包的重量,然后选择最大值的子集。
Specify 1000000 as the maximum value.
指定1000000作为最大值。
You just changed this to the maximum value allowed.
您将这个值更改为所允许的最大值。
The maximum value for Windows 2000 is 50 (0x32 hex).
在Windows 2000中,这一最大值为50 (0x32十六进制)。
The maximum value is 400 and the default value is 31.
最大值是400,默认值为31。
This means the maximum value should also be larger than one.
这表示最大值应比1大。
When the TB reaches its maximum value, it overflows and starts over from 0.
当TB达到自己的最大值时,就会溢出并从0重新开始。
The hard limit is just that -- the maximum value a parameter can be set to.
硬限制就是参数可以设置的最大值。
For example, in the following code snippet, the maximum value for a can be 31.
例如,在下面的代码中,a的最大值可以是31。
The Max WebLogic QL extension returns the maximum value of the specified field.
MAXWebLogicQL扩展返回指定字段的最大值。
To derive the maximum value from this series, you should first read about the IBM SOA Foundation.
要从本系列中获得最大的价值,您应该首先阅读有关IBMSOA Foundation的内容。
A global maximum value is calculated internally by WebSphere Portal based on these property values.
由WebSpherePortal根据这些属性值在内部计算全局最大值。
Select the Think Time tab and clear the Limit think times to a maximum value checkbox, as shown in Figure 16.
选择ThinkTime标签,清除Limit thinktimestoamaximum value 检查栏,如图16所示。
A weight is normalized to a real number in the range 0 through 1, where 0 is the minimum and 1 the maximum value.
权重将被规范化为0到1之间的一个实数,其中0为最小值,1为最大值。
It shows the maximum value in the data set for this column is 4,032 square feet, and the minimum is 2,200 square feet.
它显示了数据集内此列的最大值为4,032平方英尺,最小值为2,200平方英尺。
Portal — a global maximum value for cache information is based on several values an administrator provides in a property file.
门户——缓存信息的全局最大值基于管理员在属性文件提供的若干值。
In most cases there is a minimum value (often zero) and a maximum value; if so, make sure the number is inside its legal range.
在大多数情况下会有一个最小值和一个最大值;如果是这样,要确认数据在合法范围之内。
Select the right development tool: Having the right weapon with you will ensure that you are getting the maximum value from MDD.
选择适当的开发工具。拥有适当的工具将确保您从MDD中获得最大价值。
You can do this by removing the old label (before setting the new maximum value) and then adding a new one. This code almost works.
可以通过删除旧的标签(在设置新的最大值之前)然后添加一个新的标签达到这一目的。
The obvious solution would be simply to set the tick spacing on the horizontal slider whenever its maximum value is updated, as shown in Listing 3.
明显的解决方案是,只要滑块的最大值被更新,就在水平滑块上简单地设置刻度间隔,如清单3所示。
In the example below, the Y-axis plots the amplitude, which has a maximum of 1, while the y2-axis plots the phase, which has a maximum value of 100.
在下面的示例中,y轴绘制振幅,最大值为1,y2轴绘制相位,最大值为100。
Keeping the X-37 in orbit will provide us with additional experimentation opportunities and allow us to extract the maximum value out of the mission.
在轨x - 37空天飞机将为我们提供更多的试验机会,让我们在任务中获取最大价值。
For example, a constraint of the maximum value of a day field within an element representing a date would depend on the month, and even year, fields.
例如,对表示日期元素中的day字段的最大值的约束取决于month、甚至是year字段。
The sort call in Listing 16 requires a JSON document looking like {value:-1}, which means I want things sorted backward, with the maximum value on top.
清单16中的sort调用需要一个看上去像 {value:-1} 的JSON文档,这意味着我希望按降序排列,即最大值位于顶端。
For 32-bit programs under the large address-space model, the maximum value allowed is 0x80000000; and under the very-large address-space model, it is 0xd0000000.
对于大地址空间模型下的32位程序,允许的最大值是0x80000000;对于非常大的地址空间模型,是0xd0000000。
The generally accepted maximum value for data source connections, even in high volume installations, is 40, with the typical application somewhere between 10 and 20.
广泛接受的数据源连接的最大值是40,即使在大容量的安装中也是 40,典型的应用程序在10 至 20之间。
The maximum value of a float is about 3.4*1038, which isn't large enough for some things you might wish to represent, such as the number of electrons in the universe.
float的最大值约为 3.4*1038。这个值还不足以表示某些东西,比如宇宙中的电子数目。
Satisfying these conflicting demands requires that the organization and process coevolve in order to deliver a solution that adds maximum value and delivers competitive advantage.
满足这些相互冲突的要求,需要组织和过程共同改进,以交付一个增加最大价值和巩固竞争优势的解决方案。
Although the average was zero, each interval had a maximum (and a minimum) reading. In this graph, my APM is displaying a flat zero line indicating the average but also the maximum value.
虽然平均值是零,但是每一个时间间隔都有一个最大(和最小)读数。
Clicking on a specific parameter provides details, such as the description of what that parameter does, parameter type, constraints (like minimum value and maximum value), and current value.
单击特定参数就会显示详细信息,比如对参数作用的描述、参数类型、约束(比如最小值和最大值)和当前值。
应用推荐