L2 Introduction
L2 Introduction
f (x) = c1 x1 + c2 x2 + · · · + cn xn
for fixed ci ∈ R i = 1, . . . , n.
f (x) = c1 x1 + c2 x2 + · · · + cn xn
for fixed ci ∈ R i = 1, . . . , n.
A linear equality constraint is any equation of the form
a1 x1 + a2 x2 + · · · + an xn = α,
where α, a1 , a2 , . . . , an ∈ R.
f (x) = c1 x1 + c2 x2 + · · · + cn xn
for fixed ci ∈ R i = 1, . . . , n.
A linear equality constraint is any equation of the form
a1 x1 + a2 x2 + · · · + an xn = α,
where α, a1 , a2 , . . . , an ∈ R.
A linear inequality constraint is any inequality of the form
a1 x1 + a2 x2 + · · · + an xn ≤ α,
or
a1 x1 + a2 x2 + · · · + an xn ≥ α,
where α, a1 , a2 , . . . , an ∈ R.
maximize c 1 x1 + c 2 x2 + · · · + c n xn
Let x, y ∈ Rn .
x1 y1
x2 y2
x = .. y = ..
. .
xn yn
xi ≤ yi , i = 1, 2, . . . , n .
c 1 x1 + c 2 x2 + · · · + c n xn = c T x
c1 x1
c2 x2
c= .. x = ..
. .
cn xn
a11 a12 ... a1n α1
a21 a22 ... a2n α2
A= .. .. .. .. a= ..
. . . . .
as1 as2 ... asn αs
b11 b12 ... b1n β1
b21 b22 ... b2n β2
B= .. .. .. .. b= ..
. . . . .
br 1 br 2 ... brn βr
maximize cT x
subject to Ax ≤ a and Bx = b
maximize cT x
subject to Ax ≤ a and Bx = b
c1 α1 β1
.. .. .
c = . , a = . , b = .. .
cn αs βr
a11 . . . a1n b11 . . . b1n
.. ..
A= . , B = .
as1 ... asn br 1 . . . brn
In the real world, the modeler often follows the decision maker around for days,
weeks, even months at a time recording all of the actions and decisions this
person must make.
In the real world, the modeler often follows the decision maker around for days,
weeks, even months at a time recording all of the actions and decisions this
person must make.
In the real world, the modeler often follows the decision maker around for days,
weeks, even months at a time recording all of the actions and decisions this
person must make.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
Maximize Profit:
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
Resin:
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
Labor:
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
Implicit Constraints:
The decision variables are non-negative:
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
Implicit Constraints:
The decision variables are non-negative: 0 ≤ B, 0 ≤ C
1 1
15 B + 15 C ≤8
0 ≤ B, C
Once again, the first step in the modeling process, identification of the decision
variables, is always the most difficult.
Once again, the first step in the modeling process, identification of the decision
variables, is always the most difficult.
Never be afraid to add more decision variables either to clarify the model or
to improve its flexibility. Modern LP software easily solves problems with
thousands of variables on a laptop, tens of thousands of variables on a server, or
even tens of millions of variables on specialized hardware and networks. It is more
important to get a correct, easily interpretable, and flexible model then to provide
a compact minimalist model.
Once again, the first step in the modeling process, identification of the decision
variables, is always the most difficult.
Never be afraid to add more decision variables either to clarify the model or
to improve its flexibility. Modern LP software easily solves problems with
thousands of variables on a laptop, tens of thousands of variables on a server, or
even tens of millions of variables on specialized hardware and networks. It is more
important to get a correct, easily interpretable, and flexible model then to provide
a compact minimalist model.
LP model solutions found in many texts fall into the trap of trying to provide the
most compact minimalist model with the fewest possible variables and constraints.
Once again, the first step in the modeling process, identification of the decision
variables, is always the most difficult.
Never be afraid to add more decision variables either to clarify the model or
to improve its flexibility. Modern LP software easily solves problems with
thousands of variables on a laptop, tens of thousands of variables on a server, or
even tens of millions of variables on specialized hardware and networks. It is more
important to get a correct, easily interpretable, and flexible model then to provide
a compact minimalist model.
LP model solutions found in many texts fall into the trap of trying to provide the
most compact minimalist model with the fewest possible variables and constraints.
Do not repeat this error in developing your own models.
We now graphically solve the LP model for the Plastic Cup Factory problem.
1 1
15 B + 15 C ≤8
0 ≤ B, C
14
13
12
25
objective normal n = 20
11
10
B 45
solution C = 75
9
8
optimal value = $2625
7
6 feasible region
5
4
3
1 1
15 B + 15 C =8
2
1
B
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 1: Graph each of the linear constraints indicating on which side of the
constraint the feasible region must lie with an arrow. Don’t forget the implicit
constraints!
Step 5: The set of points of intersection between the straight-edge and the
feasible region is the set of solutions to the LP. Compute these points precisely
along with the associated optimal value.
1 1
15 B + 15 C ≤ 8 + 2
0 ≤ B, C
14
13
12
25
objective normal n = 20
11
10
B 45
solution C = 75
9
8
optimal value = $2625
7
6 feasible region
5
4
3
1 1
15 B + 15 C =8
2
1
B
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
14
13
12
25
objective normal n = 20
11
10
B 45
solution C = 75
9
8
optimal value = $2625
7
6 feasible region
5
4
3
1 1
15 B + 15 C =8
2
1
B
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
The optimal solution lies at a “corner point” or “vertex” of the feasible region.
The conjecture implies that the solution to the perturbed LP lies at the
1 1
intersection of the two lines 20B + 12C = 1800 + 1 and 15 B + 15 C = 8 + 2 for
small values of 1 and 2 ; namely
The conjecture implies that the solution to the perturbed LP lies at the
1 1
intersection of the two lines 20B + 12C = 1800 + 1 and 15 B + 15 C = 8 + 2 for
small values of 1 and 2 ; namely
45 1
B = 45 − 2 + 1
2 8
75 1
C = 75 + 2 − 1
2 8
The conjecture implies that the solution to the perturbed LP lies at the
1 1
intersection of the two lines 20B + 12C = 1800 + 1 and 15 B + 15 C = 8 + 2 for
small values of 1 and 2 ; namely
45 1
B = 45 − 2 + 1
2 8
75 1
C = 75 + 2 − 1
2 8
v (1 , 2 ) = 25B + 20C
The conjecture implies that the solution to the perturbed LP lies at the
1 1
intersection of the two lines 20B + 12C = 1800 + 1 and 15 B + 15 C = 8 + 2 for
small values of 1 and 2 ; namely
45 1
B = 45 − 2 + 1
2 8
75 1
C = 75 + 2 − 1
2 8
375 5
v (1 , 2 ) = 25B + 20C = 2625 + 2 + 1 .
2 8
The conjecture implies that the solution to the perturbed LP lies at the
1 1
intersection of the two lines 20B + 12C = 1800 + 1 and 15 B + 15 C = 8 + 2 for
small values of 1 and 2 ; namely
45 1
B = 45 − 2 + 1
2 8
75 1
C = 75 + 2 − 1
2 8
375 5
v (1 , 2 ) = 25B + 20C = 2625 + 2 + 1 .
2 8
It can be verified by direct computation that this indeed yields the optimal
solution for small values of 1 and 2 .
375 5
v (1 , 2 ) = 2625 + 2 + 1
2 8
375 5
v (1 , 2 ) = 2625 + 2 + 1
2 8
5
8
∇v (1 , 2 ) =
375
2
375 5
v (1 , 2 ) = 2625 + 2 + 1
2 8
5
8
∇v (1 , 2 ) =
375
2
The components of the gradient are called the marginal values for the resources.
raw
The production products
materials
in process out
raw
The production products
materials
in process out
raw
The production products
materials
in process out
raw
The production products
materials
in process out
raw
The production products
materials
in process out
On a per unit basis, by how much does the production process increase the value
of the raw materials?
On a per unit basis, by how much does the production process increase the value
of the raw materials?
On a per unit basis, by how much does the production process increase the value
of the raw materials?
In the market place there is competition for raw materials, or the inputs to
production. This collective competition is the hidden hand that sets the price for
goods in the market place.
In the market place there is competition for raw materials, or the inputs to
production. This collective competition is the hidden hand that sets the price for
goods in the market place.
In the market place there is competition for raw materials, or the inputs to
production. This collective competition is the hidden hand that sets the price for
goods in the market place.
Let us think of the market as a separate agent in the market place. It is the agent
that owns and sells the raw materials of production.
In the market place there is competition for raw materials, or the inputs to
production. This collective competition is the hidden hand that sets the price for
goods in the market place.
Let us think of the market as a separate agent in the market place. It is the agent
that owns and sells the raw materials of production.
The goal of the market is to make the most money possible from its resources by
setting the highest prices possible for them.
In the market place there is competition for raw materials, or the inputs to
production. This collective competition is the hidden hand that sets the price for
goods in the market place.
Let us think of the market as a separate agent in the market place. It is the agent
that owns and sells the raw materials of production.
The goal of the market is to make the most money possible from its resources by
setting the highest prices possible for them.
The market does not want to put the producers out of business, it just wants to
take all of their profit.
In the market place there is competition for raw materials, or the inputs to
production. This collective competition is the hidden hand that sets the price for
goods in the market place.
Let us think of the market as a separate agent in the market place. It is the agent
that owns and sells the raw materials of production.
The goal of the market is to make the most money possible from its resources by
setting the highest prices possible for them.
The market does not want to put the producers out of business, it just wants to
take all of their profit.
A local family-owned plastic cup manufacturer wants to optimize their production mix in
order to maximize their profit. They produce personalized beer mugs and champagne
glasses. The profit on a case of beer mugs is $25 while the profit on a case of
champagne glasses is $20. The cups are manufactured with a machine called a plastic
extruder which feeds on plastic resins. Each case of beer mugs requires 20 lbs. of plastic
resins to produce while champagne glasses require 12 lbs. per case. The daily supply of
plastic resins is limited to at most 1800 pounds. About 15 cases of either product can be
produced per hour. At the moment the family wants to limit their work day to 8 hours.
By how much should the market increase the sale price of plastic resin and hourly
labor in order to wipe out the profit for the Plastic Cup Factory?
By how much should the market increase the sale price of plastic resin and hourly
labor in order to wipe out the profit for the Plastic Cup Factory?
Define
By how much should the market increase the sale price of plastic resin and hourly
labor in order to wipe out the profit for the Plastic Cup Factory?
Define
These price increases should wipe out the per unit profitability for cases of both
beer mugs and champagne glasses.
1
Beer Mugs: cost increase = 20y1 + 15 y2
current profit
1
Beer Mugs: cost increase = 20y1 + 15 y2 ≥ 25
current profit
1
Beer Mugs: cost increase = 20y1 + 15 y2 ≥ 25
Champagne Glasses:
current profit
1
Beer Mugs: cost increase = 20y1 + 15 y2 ≥ 25
current profit
1
Beer Mugs: cost increase = 20y1 + 15 y2 ≥ 25
1
Champagne Glasses: cost increase = 12y1 + 15 y2
current profit
1
Beer Mugs: cost increase = 20y1 + 15 y2 ≥ 25
1
Champagne Glasses: cost increase = 12y1 + 15 y2 ≥ 20
Now minimize the total increase in the cost of raw materials subject to wiping out
the producer’s profit. Hopefully this will keep the Plastic Cup Factory in business.
Now minimize the total increase in the cost of raw materials subject to wiping out
the producer’s profit. Hopefully this will keep the Plastic Cup Factory in business.
minimize 1800y1 + 8y2
Now minimize the total increase in the cost of raw materials subject to wiping out
the producer’s profit. Hopefully this will keep the Plastic Cup Factory in business.
minimize 1800y1 + 8y2
Rewriting the Market’s price increase problem we get
Now minimize the total increase in the cost of raw materials subject to wiping out
the producer’s profit. Hopefully this will keep the Plastic Cup Factory in business.
minimize 1800y1 + 8y2
Rewriting the Market’s price increase problem we get
Now minimize the total increase in the cost of raw materials subject to wiping out
the producer’s profit. Hopefully this will keep the Plastic Cup Factory in business.
minimize 1800y1 + 8y2
Rewriting the Market’s price increase problem we get
Now minimize the total increase in the cost of raw materials subject to wiping out
the producer’s profit. Hopefully this will keep the Plastic Cup Factory in business.
minimize 1800y1 + 8y2
Rewriting the Market’s price increase problem we get
Primal:
1 1
15 B + 15 C ≤8
0 ≤ B, C
1 1
15 B + 15 C ≤8
0 ≤ B, C
1
s.t. 20B + 12C ≤ 1800 s.t. 20y1 + 15 y2 ≥ 25
1 1 1
15 B + 15 C ≤8 12y1 + 15 y2 ≥ 20
0 ≤ B, C 0 ≤ y1 , y2
The market wants to make the most money possible from its resources by setting
the highest prices it can without driving the producers out of business.
The market wants to make the most money possible from its resources by setting
the highest prices it can without driving the producers out of business.
raw
The production products
materials
in process out
The market wants to make the most money possible from its resources by setting
the highest prices it can without driving the producers out of business.
raw
The production products
materials
in process out
The marginal values give the per unit increase in the value of the resources due to
the production process.
The market wants to make the most money possible from its resources by setting
the highest prices it can without driving the producers out of business.
raw
The production products
materials
in process out
The marginal values give the per unit increase in the value of the resources due to
the production process.
The market wants to make the most money possible from its resources by setting
the highest prices it can without driving the producers out of business.
raw
The production products
materials
in process out
The marginal values give the per unit increase in the value of the resources due to
the production process.
P D
s.t. Ax ≤ b s.t. AT y ≥ c
0≤x 0≤y
c T x ≤ y T Ax ≤ b T y .
c T x ≤ y T Ax ≤ b T y .
c T x ≤ y T Ax ≤ b T y .
Proof:
Proof:
P
n
cT x = cj xj
j=1
Proof:
P
n
cT x = cj xj
j=1
P P
n m P
m P
m
≤ ( aij yi )xj [0 ≤ xj , cj ≤ aij yi ⇒ cj xj ≤ ( aij yi )xj ]
j=1 i=1 i=1 i=1
Proof:
P
n
cT x = cj xj
j=1
P P
n m P
m P
m
≤ ( aij yi )xj [0 ≤ xj , cj ≤ aij yi ⇒ cj xj ≤ ( aij yi )xj ]
j=1 i=1 i=1 i=1
T
= y Ax
Proof:
P
n
cT x = cj xj
j=1
P P
n m P
m P
m
≤ ( aij yi )xj [0 ≤ xj , cj ≤ aij yi ⇒ cj xj ≤ ( aij yi )xj ]
j=1 i=1 i=1 i=1
T
= y Ax
Pm P
n
= ( aij xj )yi
i=1 j=1
Proof:
P
n
cT x = cj xj
j=1
P P
n m P
m P
m
≤ ( aij yi )xj [0 ≤ xj , cj ≤ aij yi ⇒ cj xj ≤ ( aij yi )xj ]
j=1 i=1 i=1 i=1
T
= y Ax
Pm P
n
= ( aij xj )yi
i=1 j=1
Pm P
n P
n
≤ b i yi [0 ≤ yi , aij xj ≤ bi ⇒ ( aij xj )yi ≤ bi yi ]
i=1 j=1 j=1
Proof:
P
n
cT x = cj xj
j=1
P P
n m P
m P
m
≤ ( aij yi )xj [0 ≤ xj , cj ≤ aij yi ⇒ cj xj ≤ ( aij yi )xj ]
j=1 i=1 i=1 i=1
T
= y Ax
Pm P
n
= ( aij xj )yi
i=1 j=1
Pm P
n P
n
≤ b i yi [0 ≤ yi , aij xj ≤ bi ⇒ ( aij xj )yi ≤ bi yi ]
i=1 j=1 j=1
T
= b y
45
Optimal Solution =
75
5/8
Marginal Values =
375/2
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5
0≤ ,
8
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5 375
0≤ , 0≤ ,
8 2
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5 375 5 1 375
0≤ , 0≤ , 20 · + · ≥ 25,
8 2 8 15 2
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5 375 5 1 375 5 1 375
0≤ , 0≤ , 20 · + · ≥ 25, 12 · + · ≥ 20
8 2 8 15 2 8 15 2
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5 375 5 1 375 5 1 375
0≤ , 0≤ , 20 · + · ≥ 25, 12 · + · ≥ 20
8 2 8 15 2 8 15 2
Equivalence of primal-dual objectives (WDT):
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5 375 5 1 375 5 1 375
0≤ , 0≤ , 20 · + · ≥ 25, 12 · + · ≥ 20
8 2 8 15 2 8 15 2
Equivalence of primal-dual objectives (WDT):
c T x = 25 · 45 + 20 · 75 = 2625
45 Dual: min 1800y1 + 8y2
Optimal Solution =
75 s.t. 20y1 + (1/15)y2 ≥ 25
5/8 12y1 + (1/15)y2 ≥ 20
Marginal Values = 0 ≤ y1 , y2
375/2
Dual feasibility of the marginal values:
5 375 5 1 375 5 1 375
0≤ , 0≤ , 20 · + · ≥ 25, 12 · + · ≥ 20
8 2 8 15 2 8 15 2
Equivalence of primal-dual objectives (WDT):
5 375
c T x = 25 · 45 + 20 · 75 = 2625 = 1800 · +8· = bT y
8 2
Example:
maximize 2x1 − x2
x1 − x2 ≤ 1
−x1 + x2 ≤ −2
0 ≤ x1 , x2