Explanation of Simplex Method Introduction


Step 2: Determine Slack Variables



Yüklə 1,04 Mb.
səhifə2/6
tarix03.06.2023
ölçüsü1,04 Mb.
#115315
1   2   3   4   5   6
Explanation-of-Simplex-Method

Step 2: Determine Slack Variables

Slack variables are additional variables that are introduced into the linear constraints of a linear program to transform them from inequality constraints to equality constraints. If the model is in standard form, the slack variables will always have a +1 coefficient. Slack variables are needed in the constraints to transform them into solvable equalities with one definite answer.

After the slack variables are introduced, the tableau can be set up to check for optimality as described in Step 3.


Step 3: Setting up the Tableau

A Simplex tableau is used to perform row operations on the linear programming model as well as to check a solution for optimality. The tableau consists of the coefficient corresponding to the linear constraint variables and the coefficients of the objective function. In the tableau below, the bolded top row of the tableau states what each column represents. The following two rows represent the linear constraint variable coefficients from the linear programming model, and the last row represents the objective function variable coefficients.


Once the tableau has been completed, the model can be checked for an optimal solution as shown in Step 4.




Step 4: Check Optimality
The optimal solution of a maximization linear programming model are the values assigned to the variables in the objective function to give the largest zeta value. The optimal solution would exist on the corner points of the graph of the entire model. To check optimality using the tableau, all values in the last row must contain values greater than or equal to zero. If a value is less than zero, it means that variable has not reached its optimal value. As seen in the previous tableau, three negative values exists in the bottom row indicating that this solution is not optimal. If a tableau is not optimal, the next step is to identify the pivot variable to base a new tableau on, as described in Step 5.

Yüklə 1,04 Mb.

Dostları ilə paylaş:
1   2   3   4   5   6




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə