IEOPER Quiz 2 Procedures Flashcards
Simplex Method
- Set all variables to the left side and the constants to the right (convert to standard form)
- Add slack variables to constraints
- Get n-m variables and set (n-m) variables to 0
- Reflect the initial feasible solution in the simplex tableau
- Indicate the EV by locating in the z-row the most negative coefficient if it is a maximization problem and the most positive coefficient if it is a minimization problem.
- Indicate the LV row by getting the ratio of a solution divided by the pivot column.
- Replace the LV with the EV in the tableau, then get the intersection as this becomes the pivot element.
- Divide the pivot row by the pivot element
- Make all other coefficients in the pivot column zero using the Gauss-Jordan technique.
- Repeat the process until optimality, wherein all the coefficients of the nonbasic variables are non-negative for the maximization problem and non-positive for the minimization problem.
Name all submatrices and their meaning
XB = Current basic variables
XN = Current Non-basic variables
CB = Objective function of the coefficient of current BVs
CN = Objective function of the coefficient of current NBVs
B = Constraint coefficient of current BVs
N = Constraint coefficient of current NBVs
Name the original matrices and their respective sub matrices
X - XB, XN
C - CB, CN
A - B, N
Formula for constraints for revised simplex
AX = b
Derived version:
I XB + B^-1 N XN = B^-1 b
Formula for objective function for revised simplex
Z = CX
Derived version:
Z + (CB B^-1 - CN) XN = CB B^-1 b
Formula for Basic variable values
XB = B^-1 b ; basically the constraints equation but let XN = 0
Formula for Objective function value
Z = CB B^-1 b; basically the objective function equation but let XN = 0.
Optimality Test for Revised Simplex
Max: CB B^-1N - CN >= 0
Min: CB B^-1 N - CN <= 0
Ratio formula for determining LV in revised simplex
B^-1 b / B^-1 Nj; then get the lowest number or the least ratio
The formula for determining EV in revised simplex
CB B^-1 N - CN
For max problem, get the most negative coefficient.
For min problem, get the most positive coefficient
Steps for Big M:
- Transform the constraints into standard form. Add artificial variables (R) to constraints with >+ or = signs.
- Indicate n (including both Sn and Rn variables) and m and set (n-m) variables into NBV. Choose the negative Sn variables as NBV.
- Add MRi to the untransposed objective function if its a minimization problem. Subtract MRi to the untransposed objective function if its a maximization problem. Transform objective function into standard form.
- Isolate Rn from constraints and substitute into standard form of objective function.
- Simplify the objective function
- Perform simplex method
Steps for Two-Phase Method:
- Transform given into standard form
- Do Phase 1 (Min R0 = R1+R2)
- Do Simplex until you get optimal solution
- Do Phase 2 (Use Original objective function)
- Iterate until optimal solution