Docsity

Linear Programming: Two-Dimensional Case with Two Variables and Extra Constraints, Exams of Mathematics

Toggle sidebar
bg1
3 The linear two-dimensional case.
3.1 Two variables and one extra constraint.
Consider the dual problem
11 22
11 22 12
min when ,0
aa c
bb !!
!! !!
!"
#
$
$
!%
$"
$
&
.
Since only two variables are involved, it is possible to draw a useful picture. Assume the data is
such that the following picture is relevant
The feasible set extends without bound in the first quadrant. The feasible set has two vertices,
one at
'(
1
/,0
ca and the other at
'(
2
0, /
ca . A level line of 11 22
bb
!!! is also indicated. Recall
that a level line is the collection of all points
'(
12
,
!! such that 11 22
bb
!!! takes on the same
value. This value is referred to as the level. All level lines of 11 22
bb
!!! are parallel. In the
picture an arrow is attached to the level line to indicate where the line !moves" if the level
decreases. As the level decreases there is eventually only one point that is both feasible and on the
level line. In the picture this point is
'(
2
0, /
ca . If the level is further reduced, then there are no
feasible points on the level line. From this observation it is geometrically clear that the minimum
is attained at the point
'(
2
0, /
ca . The slope of any level line is given by 12
/
bb
). The slope of the
boundary line of the feasible set is 12
/
aa
). To be consistent with the picture it must be that
12 1 2
//
bb aa
)*) or 22 11
//
ba ba
*.
1
!
2
!
2
/
ca
1
/
ca
pf3

Partial preview of the text

Download Linear Programming: Two-Dimensional Case with Two Variables and Extra Constraints and more Exams Mathematics in PDF only on Docsity!

3 The linear two-dimensional case.

3.1 Two variables and one extra constraint.

Consider the dual problem

1 1 2 2 min 1 1 2 2 when (^1) , 2 0

a a c b b

#$$^!^ "

Since only two variables are involved, it is possible to draw a useful picture. Assume the data is such that the following picture is relevant

The feasible set extends without bound in the first quadrant. The feasible set has two vertices,

one at ' c / a 1 , 0(and the other at ' 0, c / a 2 (. A level line of b 1 ! 1 ! b 2! 2 is also indicated. Recall

that a level line is the collection of all points '! 1 ,! 2 (such that b 1 ! 1 ! b 2! 2 takes on the same

value. This value is referred to as the level. All level lines of b 1 (^)! 1 (^)! b 2_!_ 2 are parallel. In the picture an arrow is attached to the level line to indicate where the line ‘moves’ if the level decreases. As the level decreases there is eventually only one point that is both feasible and on the

level line. In the picture this point is ' 0, c / a 2 (. If the level is further reduced, then there are no

feasible points on the level line. From this observation it is geometrically clear that the minimum

is attained at the point ' 0, c / a 2 (. The slope of any level line is given by ) b 1 / b 2. The slope of the

boundary line of the feasible set is ) a (^) 1 / a 2. To be consistent with the picture it must be that ) b 1 (^) / b 2 (^) * ) a 1 (^) / a 2 or^ b 2 (^) / a 2 (^) * b 1 (^) / a 1.

c / a 2

c / a 1

3.2 Primal problem.

Now look at the corresponding primal problem:

1 1 2 2

a max when a 0

x b cx x b x

The initial tableau is given by 1 1 2 2

a b a b c

Use the pivoting rule to get the final tableau 1 1 1 2 2 2 2 2 2 2 2 2

a (^) b a b a a b a a c (^) cb a a

As expected the final tableau produces_!_ 1 (^) , 0 and_!_ 2 (^) , c / a 2.

3.3 Two variables and any finite number of extra constraints.

Each constraint of the form a x 1 (^) 1! a x 2 (^) 2 + b is satisfied by a collection of points contained in a closed half-plane. Both the primal and the dual problem in two variables have a feasible set that is the intersection of a finite number of closed half-planes. Since the variables are assumed non- negative, the feasible set is always a subset of the first quadrant. No optimal point is in the interior of the feasible set so at least one of the constraints must hold with equality. If a constraint is satisfied with equality at a point, then the constraint is said to be active at that point. Now, suppose there is an optimal point such that only one constraint is active. A level line of the objective must be parallel to the line given by the active constraint because otherwise it is possible to increase or decrease the objective. It follows that all feasible points on the line given by the active constraint are optimal. There is no line completely contained in the first quadrant so some point on the line given by the active constraint must also be on the line of a different constraint. Hence, to locate an optimal point it suffices to examine the points of the feasible set where at least two constraints are active. Points where several constraints are active are of course vertices of the feasible set.

Exercise Express the line segment from '^ 0, 3 (to '^ 5, 0 ( as a feasible set of a primal problem.