Shadow price in linear programming

Posted jasperzhao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Shadow price in linear programming相关的知识,希望对你有一定的参考价值。

It can be understood as: the value of an addition revenue if the constraint is relaxed.

or

How much you would be willing to pay for an additional resource.

The problem:

maximize 5x1 + 4x2 + 6x3
subject to 6x1 + 5x2 + 8x3 <= 16 (c1)
10x1 + 20x2 + 10x3 <= 35 (c2)
0 <= x1, x2, x3 <= 1

Answer:

The shadow price associated with a resource tells you how much more profit you would get by increasing the amount of that resource by one unit. (So "How much you would be willing to pay for an additional resource" is a good way of thinking about the shadow price.)

In the example you give, there are 16 units available of the first resource and 35 units available of the second resource. The fact that the shadow price of  is 0.727273 means that if you could increase the first resource from 16 units to 17 units, you would get an additional profit of about$0.73. Similarly, if you could increase the second resource from 35 units to 36 units then you would get an additional profit of about $0.02.

So if you could increase just one resource by one unit, and the cost of increasing the first resource is the same as that of increasing the second resource (this assumption is not part of the model), then, yes, you should definitely increase the first resource by one unit.

以上是关于Shadow price in linear programming的主要内容,如果未能解决你的问题,请参考以下文章

Chapter -- Linear Equations in Linear Algebra

鼠标移入的box-shadow参考

2022-05-28:某公司计划推出一批投资项目。 product[i] = price 表示第 i 个理财项目的投资金额 price 。 客户在按需投资时,需要遵循以下规则: 客户在首次对项目 pr

Linear Regression with PyTorch

Regularization in Linear Regression & Logistic Regression

Signed Distance Field Shadow in Unity