And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
The notion here is that you can get a globally optimal solution from locally optimal solutions to sub-problems.
这里的概念是你可以通过,子问题的局部最优方案,得到全局优化解决方案。
But if we had common knowledge of rationality in this class, then the optimal choice would have been 1.
但是如果大家都知道彼此是理性的,那么最优策略就是1
I showed them the slide that I just showed you, showing the optimal portfolio, and then I looked at the Norwegian Government's position.
我还给他们展示了刚刚给你们放的幻灯片,就是展示最佳投资组合的那张,然后我查看了挪威政府现在的资产状况。
But ultimately, the best way, the optimal way spreading happiness is to work on your own happiness, because then you are leading by example.
但最好的方法,传播快乐的最佳方法是努力争取自己的快乐,因为那时你就成为榜样。
So we'll talk about what people are eating, we'll talk about what's good and what's not good and what the optimal diet might be.
所以,我们将讨论人们吃什么,讨论吃什么有益,吃什么有害,以及什么才是最佳饮食
Second he tells us the political scientist must consider what kind of regime will be best under less than optimal circumstances.
其次,他告诉我们政治科学家,必需考虑何种政体在,较不理想的情势下会仍会是最佳的一种;
The amount of water that you need to have the optimal sort of concentrations of things is determined by how much urine your kidneys produce and how much they excrete each day.
为了保持体内物质的理想浓度,所需的水量,取决于肾脏每天产生,以及排出体外的尿量
So let's ask, is there an optimal substructure to this problem.
所以让我们问问,这个问题是否有最优子结构。
So what to eat, what the optimal diet is has become a pretty controversial issue.
吃什么和如何确定最佳食谱,成为冲突的两个问题
So, what it means then is that the optimal portfolio should not be the one I show there, but should be one that's very heavily into stocks.
他所想提出的观点是,最佳投资组合并不是我在这讲的那个,而是把大量资金都投资到股票市场中。
So, people in the U.S. don't have the optimal portfolio either.
美国同样也没有拥有最佳投资组合。
But it's not an optimal solution.
这个贼应该做什么呢?
Optimal sub structure.
简单一点的子问题的最优方案来解决问题。
There was a conditional agreement: yes, Norway should manage this oil risk but it's politically difficult and that's the problem-- is that we're not able to do our optimal management.
他们在一定程度上同意我的观点:,是的,挪威应该设法解决石油的风险,但这在政治上很困难,其问题在于-,挪威无法做到最优的管理。
The natural laws for Hobbes are not divine commands or ordinances, he says, but they are rules of practical reason figured out by us as the optimal means of securing our well-being.
对霍布斯来说,自然法不是神圣的法令,或者条例,但这些是,我们发现的实践理性的法则,就像一种最佳的方式保护我们的幸福生活。
And the other one was optimal substructure.
另一件就是最优子结构。
For him, the optimal portfolio should be very heavily into stocks.
以他的计算结果,最佳投资组合应该是大量投资股票。
Firms that do that are, in practice, however, the minority and most mutual funds have some gimmick or some special-- they claim to be beating the market not forming the optimal portfolio.
然而实际上,这么做的公司很少,大部分共同基金都会耍些花招,或有一些特别的...,他们强调他们的收益率将强于市场平均水平,而非建立最佳投资组合
So, the optimal thing to do if you live in a world like this n is to get n as large possible and you can reduce the standard deviation of the portfolio very much and there's no cost in terms of expected return.
如果现实中也这样简单的话,那么你就尽量增大,这样就能让投资组合的标准差,就会大大降低,从预期收益率的角度来看,这样做的成本是零。
So you could have--be consuming fat that is in itself good for heart health let's say, or maybe protective against cancer in some ways, but it's also adding calories to the diet, so you want to have the optimal amount of fat and not over-consume it because of the calories.
所以你可能是在食用,有益于你心脏健康的脂肪,打个比方,又或是在某种程度上可以抗癌,但它也给你的饮食增加了热量,因此为了减少热量应该食用适量,而非过量的脂肪
应用推荐