官术网_书友最值得收藏!

Lagranges multipliers

In the math optimization problem, the method of Lagrange multipliers is used as a tool for finding the local minima and maxima of a function subject to equality constraints. An example involves finding the maximum entropy distribution subject to given constraints.

This is best explained with an example. Let's say we have to maximize K (x, y) = -x2 -y2 subject to y = x + 1.

The constraint function is g (x, y) = x-y+1=0. The L multiplier then becomes this:

Differentiating with respect to x, y, and lambda, and setting to 0 we get the following:

Solving the preceding equations, we get x=-0.5, y=0.5, lambda=-1.

主站蜘蛛池模板: 盐城市| 韩城市| 余庆县| 浠水县| 柞水县| 东乌珠穆沁旗| 甘南县| 北流市| 兴仁县| 天全县| 县级市| 黔西县| 昌邑市| 开化县| 济南市| 江都市| 出国| 财经| 石泉县| 松潘县| 丽水市| 广元市| 上高县| 宜都市| 铁岭县| 隆德县| 双牌县| 大连市| 崇阳县| 连南| 沅陵县| 周宁县| 汽车| 罗平县| 安溪县| 彰化市| 磐安县| 黄石市| 黄大仙区| 原阳县| 加查县|