Operation Research Solution Procedures
Operation Research Solution Procedures
Operation Research (IT – 418)
Simplex Method
Simplex Method (Maximization):
1. Objective Function: Express the objective function to be
maximized as a linear function of decision variables.
2. Constraints: Convert all inequality constraints into
equality constraints by introducing slack variables (for ≤
constraints).
3. Construct Initial Simplex Tableau.
4. Optimal Solution: Check if all the coefficients of the
objective row are non-negative, the current solution is
optimal, and the process can stop. (zj – cj ≥ 0)
Simplex Method
Simplex Method (Minimization):
1. Convert to a Maximization Problem:
Multiply the Objective Function by -1: Transforms the
minimization problem into a maximization problem.
Max Z′ = - Min Z
2. Constraints: Convert all inequality constraints into
equality constraints by introducing slack variables (for ≤
constraints).
3. Construct Initial Simplex Tableau.
4. Optimal Solution: Check if all the coefficients of the
objective row are non-negative, the current solution is
optimal, and the process can stop. (zj – cj ≥ 0)
Degeneracy in Simplex Method
Unbounded Solution Simplex Method
If all the coefficients in the column are less
than or equal to zero, the problem is
unbounded.
Big M Method
1. Objective Function: Express the objective function to be
maximized as a linear function of decision variables.
2. Introduce Slack, Surplus, and Artificial
Variables:
For each constraint:
Add slack variables for ≤ constraints.
Add surplus variables for ≥ constraints.
Introduce artificial variables for any constraints
that require them (typically ≥ or = constraints).
Assign –M value to artificial variables.
Big M Method
Steps for Big M Method:
Case I : If no artificial variable appear in the basis and
optimality conditions are satisfied, then feasible solution.
Case II : If at least one artificial variable is appear in the
basis at zero level and optimality conditions are satisfied,
then feasible solution.
Case III : If at least one artificial variable is appear in the
basis at positive level and optimality conditions are
satisfied, then no feasible solution.
Two Phase Method
Phase I : Auxiliary LPP
Step 1:
1. Introduce Slack, Surplus, and Artificial Variables:
For each constraint:
• Add slack variables for ≤ constraints.
• Add surplus variables for ≥ constraints.
• Introduce artificial variables for any constraints that
require them (typically ≥ or = constraints).
Two Phase Method
2. Assign Values:
Assign a cost -1 to each artificial variables and cost 0 to
other variables.
3. Formulate the Auxiliary Objective Function:
Create a new objective function, Z*, that is the sum of
all the artificial variables.
Two Phase Method
Step 2: Solve the following auxiliary LPP
Phase II :
Considered the final simplex table of phase I.
Considered the actual cost associated with the
original variables.
Deleted the artificial variable column from the
table as it is eliminated in phase I.
Primal to Dual Conversion
Primal Cononical Dual
Coefficient of objective function will be changed with
R.H.S of constraints and vice versa.
Write coefficient of variables in constraints that is
transpose of cononical form variables.