Maximize Z = -x1 + 2x2 + x3
Subject To
3x2 + x3 =< 120
x1 - x2 - 4x3 =< 80
-3x1 + x2 + 2x3 =< 100
(no nongeative constraints)
A) Reformulate this problem so tha all variables have nonnegative constraints
B) Work through the simplex method step by step to solve the problem
To construct a system of support equations, additional conditions are used (transition to the canonical form).
In the 1st inequality of meaning (≤ ), we introduce the basis variable x4 . In the 2nd inequality of meaning (≤ ), we introduce the basis variable x5 . In the 3rd inequality of meaning (≤ ), we introduce the basis variable x6 .
As the leading element, we select the column corresponding to the variable x2 , since this is the largest coefficient by the absolute value.
We calculate the values of the rows as the quotient of the division, and from them we choose the smallest:
min(40,−,100)=40
Therefore, the 1st row is leading.
We form the next part of the simplex table. Instead of the variable x4 , the set will include the variable x2 .
The row corresponding to the variable x2 in set 1 is obtained by dividing all the elements of the row x4 of set 0 by the resolving element. In place of the resolving element, we obtain 1. In the remaining cells of the column x2 , we write zeros.
As the leading element, we choose the column corresponding to the variable x3, since this is the largest coefficient by the absolute value. And we also do as earlier.
Comments