Docsity

Operation Research Summary, Summaries of Operational Research

Toggle sidebar
bg1
Lec3 Chapter 4 Duality and Post Optimal Analysis
Introduction
• Dual: For every LP formulation, there exists another unique linear programming formulation called the
'Dual' (the original formulation is called the 'Primal').
• Relationship between Primal & Dual:
The dual formulation can be derived from the same data from which the primal was formulated.
• Dual as Inverse: The dual can be considered as the 'inverse' of the primal in every respect.
• Solving Dual: The dual formulation can be solved in the same manner in which the primal is solved since
the dual is also a LP formulation.
Dual Problem Construction
• Objective Type: If the primal is a maximization problem, then its dual is a minimization problem (and vice
versa).
• Variables & Constraints Relation: Use the variable type of one problem to find the constraint type of the
other problem.
• RHS ↔ Objective Coefficients:
The RHS elements of one problem become the objective function coefficients of the other problem (and
vice versa).
• Matrix Relation: The matrix coefficients of the constraints of one problem is the transpose of the matrix
coefficients of the constraints for the other problem.
Duality Formulation
• Steps to construct dual from primal:
1. Convert the primal problem into Standard form.
2. A dual variable is assigned to each primal (equation) constraint.
3. A dual constraint is assigned to each primal variable.
4. The right-hand sides of the primal constraints provide the coefficients of the dual objective function.
5. The coefficients of the primal objective function provide the right-hand sides of the dual constraints.
6. The dual constraint corresponding to a primal variable is constructed by transposing the primal variable
column into a row.
o Explanation: Columns in primal → Rows in dual (i.e., matrix A → Aᵀ).
pf3
pf4

Partial preview of the text

Download Operation Research Summary and more Summaries Operational Research in PDF only on Docsity!

Lec3 Chapter 4 Duality and Post Optimal Analysis

Introduction

  • Dual: For every LP formulation, there exists another unique linear programming formulation called the 'Dual' (the original formulation is called the 'Primal').
  • Relationship between Primal & Dual: The dual formulation can be derived from the same data from which the primal was formulated.
  • Dual as Inverse: The dual can be considered as the 'inverse' of the primal in every respect.
  • Solving Dual: The dual formulation can be solved in the same manner in which the primal is solved since the dual is also a LP formulation. Dual Problem Construction
  • Objective Type: If the primal is a maximization problem, then its dual is a minimization problem (and vice versa).
  • Variables & Constraints Relation: Use the variable type of one problem to find the constraint type of the other problem.
  • RHS ↔ Objective Coefficients: The RHS elements of one problem become the objective function coefficients of the other problem (and vice versa).
  • Matrix Relation: The matrix coefficients of the constraints of one problem is the transpose of the matrix coefficients of the constraints for the other problem. Duality Formulation
  • Steps to construct dual from primal:
  1. Convert the primal problem into Standard form.
  2. A dual variable is assigned to each primal (equation) constraint.
  3. A dual constraint is assigned to each primal variable.
  4. The right-hand sides of the primal constraints provide the coefficients of the dual objective function.
  5. The coefficients of the primal objective function provide the right-hand sides of the dual constraints.
  6. The dual constraint corresponding to a primal variable is constructed by transposing the primal variable column into a row. o Explanation: Columns in primal → Rows in dual (i.e., matrix A → Aᵀ).

7. Optimization Direction & Signs Rules Primal Dual Objective Constraint Type Variable Sign Max Min ≥ Unrestricted Min Max ≤ Unrestricted Note: The slack/surplus variables of the primal constraints identify the range of each associated dual variable. The Dual of a Minimization LP Primal LP

  • Maximize: z = c₁x₁ + c₂x₂ + ... + cₙxₙ
  • Subject to: a₁₁x₁ + a₁₂x₂ + ... + a₁ₙxₙ ≤ b₁ a₂₁x₁ + a₂₂x₂ + ... + a₂ₙxₙ ≤ b₂ ... aₘ₁x₁ + aₘ₂x₂ + ... + aₘₙxₙ ≤ bₘ
  • Variables: x₁, x₂, ..., xₙ ≥ 0 Dual LP
  • Minimize: w = b₁y₁ + b₂y₂ + ... + bₘyₘ
  • Subject to: a₁₁y₁ + a₂₁y₂ + ... + aₘ₁yₘ ≥ c₁ a₁₂y₁ + a₂₂y₂ + ... + aₘ₂yₘ ≥ c₂ ... a₁ₙy₁ + a₂ₙy₂ + ... + aₘₙyₘ ≥ cₙ
  • Variables: y₁, y₂, ..., yₘ ≥ 0 Rules for Constructing the Dual Problem (Table 4.2) Conversion Primal LP Model to Dual LP Model Steps to Construct the Dual from the Primal Step 1 Convert the inequalities into equations Step 2 Put the coefficients of (X’s) in a matrix, then get the transpose → this formulates the matrix of (Y’s)

y₁ + 2y₂ ≥ 5 2y₁ − y₂ ≥ 12 y₁ + 3y₂ ≥ 4 y₁ + 0 y₂ ≥ 0 Step 4. The coefficients of Z function are the R.H.S of the primal constraints. The objective function for the dual model is called W function. Minimization <=> Maximization Min. w = y₁ + y₂ → Min. w = 10y₁ + 8y₂ Step 5. If any of the constraints shows that the variable either negative or positive, it will be unrestricted variable. The final form: Min. w = 10y₁ + 8y₂ Subject to: y₁ + 2y₂ ≥ 5 2y₁ − y₂ ≥ 12 y₁ + 3y₂ ≥ 4 y₁ + 0y₂ ≥ 0 y₂ unrestricted Important Results in Duality Feasibility If one problem (either primal or dual) is feasible, the other will also be feasible

  • Objective function of a max LP ≤ objective function of a min LP Optimality If one problem has an optimal feasible solution, the other also has an optimal feasible solution
  • The optimal objective function value is the same for both primal and dual
  • Objective function of a max LP = objective function of a min LP Infeasibility If one problem has no solution (infeasible), the other problem is either infeasible or unbounded Unbounded Case If one problem is unbounded, the other problem is infeasible