| Prev | Next | Top | Quiz0713 |
x1 x2 x3 x4 x5 x6 z b
1 1 1 0 1 0 0 2
1 2 3 0 0 1 0 4
1 3 -1 1 0 0 0 6
0 1 2 0 0 0 -1 0
D : \{ 1, 2, 3 \} \rightarrow \{ 1, 2, 3, 4, 5, 6 \}
(mapping the row index to the corresponding basic variable index) ?
B \subset \{ 1, 2, 3, 4, 5, 6 \}
(the set of basic variable indices) ?
z to enter the basis, what variable would enter the basis ?
What are the possible choices for the variable that leaves the basis ?
\[
\begin{array}{ccccc}
D(1) = 5 & , & D(2) = 6 & , & D(3) = 4
\end{array}
\]
.
\[
B = \{ 5 , 6 , 4 \}
\]
x2
and the leaving variable would be x4.
x3
and x6 is the only choice for the leaving variable.
\[
z = v + c_1 * x_1 + c_2 * x_2 + ... + c_n * x_n
\]
corresponds to an optimal basic solution
if and only if
c_j \leq 0
for all
j
.
Show that this hypothesis is false.
(Hint, I used the problem of maximizing
x_1
subject to
x_1 \geq 0
and
x_1 \leq 0
.)
maximize x1
subject to x1 <= 0
x1 >= 0
is x1 = 0.
This problem has the following representation
maximize x1
subject to x1 + s1 = 0
x1 >= 0, s1 >= 0
One feasible dictionary for this problem is
s1 = - x1
---------
z = x1
and the corresponding basic solution is x1 = 0, s1 = 0.
This is the optimal solution, but not all the objective
coefficients are less than or equal zero (in this representation).
\[
z = v + c_1 * x_1 + c_2 * x_2 + \cdots + c_n * x_n
\]
where
c_j \leq 0
for all
j
.
Show that the corresponding basic solution is optimal.
The objective function value corresponding to the basic solution is
v
.
Suppose that we have any feasible point
x \in \R^n
.
It follows that
x_j \geq 0
for
j = 1 , \ldots , n
.
By assumption
c_j \leq 0
for all
j
hence
\[
\begin{array}{rcll}
0 & \geq & c_j x_j & \hspace{1cm} (j = 1 , \cdots , n ) \\
0 & \geq & c_1 x_1 + \cdots + c_n x_n \\
v & \geq & v + c_1 x_1 + \cdots + c_n x_n \\
v & \geq & z
\end{array}
\]
This the value of the objective at
x
is less than
or equal the value at the basic solution mentioned above.
maximize z = x1
subject to s1 = -1 - x1 + x2
s2 = 2 - x1 - x2
s1 >= 0, s2 >= 0, x1 >= 0, x2 >=0
maximize w = - x0
subject to s1 = -1 + x0 - x1 + x2
s2 = 2 + x0 - x1 - x2
s1>=0, s2>=0, x0>=0, x1>=0, x2>=0
The first pivot of the auxillary problem yields the
following feasible dictionary:
maximize w = - (1 + s1 + x1 - x2)
subject to x0 = 1 + s1 + x1 - x2
s2 = 2 + (1 + s1 + x1 - x2) - x1 - x2
s1>=0, s2>=0, x0>=0, x1>=0, x2>=0
which simplifies to
maximize w = -1 - s1 - x1 + x2
subject to x0 = 1 + s1 + x1 - x2
s2 = 3 + s1 - 2 * x2
s1>=0, s2>=0, x0>=0, x1>=0, x2>=0
Applying the simplex method,
the only choice for the entering variable is x2.
The corresponding ratios are
1 and 3 / 2.
Thus the only choice for the leaving variable is x0.
The resulting dictionary is
maximize w = -1 - s1 - x1 + (1 + s1 + x1 - x0)
subject to x2 = 1 + s1 + x1 - x0
s2 = 3 + s1 - 2 * (1 + s1 + x1 - x0)
s1>=0, s2>=0, x0>=0, x1>=0, x2>=0
which simplifies to
maximize w = 0 - x0
subject to x2 = 1 + s1 - x0 + x1
s2 = 1 - s1 + 2 * x0 - 2 * x1
s1>=0, s2>=0, x0>=0, x1>=0, x2>=0
Since x0 is a non-basic variable in this representation,
we can drop it and obtain the following feasible dictionary
for the original problem:
maximize z = x1
subject to x2 = 1 + s1 + x1
s2 = 1 - s1 - 2 * x1
s1>=0, s2>=0, x1>=0, x2>=0