Find solution using dual simplex method
MAX Z = -15x1 - 10x2
subject to
-3x1 - 5x2 <= -5
-5x1 - 2x2 <= -3
and x1,x2 >= 0; Solution:
Problem is | Max `Z` | `=` | ` - ` | `15` | `x_1` | ` - ` | `10` | `x_2` |
|
| subject to |
| ` - ` | `3` | `x_1` | ` - ` | `5` | `x_2` | ≤ | `-5` | | ` - ` | `5` | `x_1` | ` - ` | `2` | `x_2` | ≤ | `-3` |
|
| and `x_1,x_2 >= 0; ` |
| `Z` | `+` | `` | `15` | `x_1` | ` + ` | `10` | `x_2` | | | | | | | = | `0` |
|
| ` - ` | `3` | `x_1` | ` - ` | `5` | `x_2` | ` + ` | `` | `S_1` | | | | = | `-5` | | ` - ` | `5` | `x_1` | ` - ` | `2` | `x_2` | | | | ` + ` | `` | `S_2` | = | `-3` |
|
Tableau-1
| `C_B` | `"Basis"` | `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_1` `0` | `Z` | `15` | `10` | `0` | `0` | `0` |
| `R_2` `0` | `S_1` | `-3` | `(-5)` | `1` | `0` | `-5``->` |
| `R_3` `0` | `S_2` | `-5` | `-2` | `0` | `1` | `-3` |
| | `"Ratio"=(Z_j)/(S_1,j)` and `S_1,j<0` | `(15)/(-3)` `=-5` | `(10)/(-5)` `=-2``uarr` | `(0)/(1)` `=`--- | `(0)/(0)` `=`--- | |
Most negative `RHS` is `-5`. So,
the leaving basis variable is `S_1`.
Least negative ratio is `-2`. So,
the entering variable is `x_2`.
`:.`
The pivot element is `-5`.
Entering `=x_2`, Departing `=S_1`, Key Element `=-5`
`R_2`(new)`= R_2`(old) `-: -5`
| `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_2`(old) = | `-3` | `-5` | `1` | `0` | `-5` |
| `R_2`(new)`= R_2`(old) `-: -5` | `0.6` | `1` | `-0.2` | `0` | `1` |
`R_3`(new)`= R_3`(old) + `2 R_2`(new)
| `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_3`(old) = | `-5` | `-2` | `0` | `1` | `-3` |
| `R_2`(new) = | `0.6` | `1` | `-0.2` | `0` | `1` |
| `2 xx R_2`(new) = | `1.2` | `2` | `-0.4` | `0` | `2` |
| `R_3`(new)`= R_3`(old) + `2 R_2`(new) | `-3.8` | `0` | `-0.4` | `1` | `-1` |
`R_1`(new)`= R_1`(old) - `10 R_2`(new)
| `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_1`(old) = | `15` | `10` | `0` | `0` | `0` |
| `R_2`(new) = | `0.6` | `1` | `-0.2` | `0` | `1` |
| `10 xx R_2`(new) = | `6` | `10` | `-2` | `0` | `10` |
| `R_1`(new)`= R_1`(old) - `10 R_2`(new) | `9` | `0` | `2` | `0` | `-10` |
Tableau-2
| `C_B` | `"Basis"` | `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_1` `0` | `Z` | `9` | `0` | `2` | `0` | `-10` |
| `R_2` `-10` | `x_2` | `0.6` | `1` | `-0.2` | `0` | `1` |
| `R_3` `0` | `S_2` | `(-3.8)` | `0` | `-0.4` | `1` | `-1``->` |
| | `"Ratio"=(Z_j)/(S_2,j)` and `S_2,j<0` | `(9)/(-3.8)` `=-2.3684``uarr` | `(0)/(0)` `=`--- | `(2)/(-0.4)` `=-5` | `(0)/(1)` `=`--- | |
Most negative `RHS` is `-1`. So,
the leaving basis variable is `S_2`.
Least negative ratio is `-2.3684`. So,
the entering variable is `x_1`.
`:.`
The pivot element is `-3.8`.
Entering `=x_1`, Departing `=S_2`, Key Element `=-3.8`
`R_3`(new)`= R_3`(old) `-: -3.8`
| `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_3`(old) = | `-3.8` | `0` | `-0.4` | `1` | `-1` |
| `R_3`(new)`= R_3`(old) `-: -3.8` | `1` | `0` | `0.1053` | `-0.2632` | `0.2632` |
`R_2`(new)`= R_2`(old) - `0.6 R_3`(new)
| `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_2`(old) = | `0.6` | `1` | `-0.2` | `0` | `1` |
| `R_3`(new) = | `1` | `0` | `0.1053` | `-0.2632` | `0.2632` |
| `0.6 xx R_3`(new) = | `0.6` | `0` | `0.0632` | `-0.1579` | `0.1579` |
| `R_2`(new)`= R_2`(old) - `0.6 R_3`(new) | `0` | `1` | `-0.2632` | `0.1579` | `0.8421` |
`R_1`(new)`= R_1`(old) - `9 R_3`(new)
| `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_1`(old) = | `9` | `0` | `2` | `0` | `-10` |
| `R_3`(new) = | `1` | `0` | `0.1053` | `-0.2632` | `0.2632` |
| `9 xx R_3`(new) = | `9` | `0` | `0.9474` | `-2.3684` | `2.3684` |
| `R_1`(new)`= R_1`(old) - `9 R_3`(new) | `0` | `0` | `1.0526` | `2.3684` | `-12.3684` |
Tableau-3
| `C_B` | `"Basis"` | `x_1` | `x_2` | `S_1` | `S_2` | `RHS` |
| `R_1` `0` | `Z` | `0` | `0` | `1.0526` | `2.3684` | `-12.3684` |
| `R_2` `-10` | `x_2` | `0` | `1` | `-0.2632` | `0.1579` | `0.8421` |
| `R_3` `-15` | `x_1` | `1` | `0` | `0.1053` | `-0.2632` | `0.2632` |
| | Ratio | | | | | |
Since all `Z_j >= 0` and all `RHS >= 0`, thus the current solution is the optimal solution.
Hence, optimal solution is arrived with value of variables as :
`x_1=0.2632,x_2=0.8421`
Max `Z=-12.3684`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then