Mid Term Cheat Sheet DMOP
Mid Term Cheat Sheet DMOP
• Business Problem: Figure out ___ in order to • Business Problem: Minimizing total transportation cost while meeting the demand
maximize/ minimize ____ while considering • Decision variables: xᵢⱼ = # of units to ship from factory at i to store at j
resource constraints Shadow price of supplier : -ve or zero
• Objective function: Min c₁₁x₁₁ + c₁₂x₁₂ + ... + cₙₘxₙₘ
• Analytical Model: Shadow price of receiver : +ve or zero
• Constraints: (if D<S)
• Decision Variables (& No. of variables) 1) Supply constraints: Qty shipped out should not be more than available (i.e. ≤)
• Objective Function x₁₁ + x₁₂ + ... + x₁ₘ ≤ supply₁, …….., xₘ₁ + xₘ₂ + ... + xₘₘ ≤ supplyₘ
• Constraints 2) Demand constraints: Qty Shipped in should be greater than or equal to Qty Reqd (≥)
*Include Units x₁₁ + x₂₁ + ... + xₙ₁ = demand₁, …….., x₁ₘ + x₂ₘ + ... + xₙₘ = demandₘ
Graphical Model 3) Non-negativity : xᵢⱼ ≥ 0
• Plot the constraint lines & figure out feasible region * If D>S, then Supply constraints: Do not Ship < what is available to meet demand (≥ S1)
• Determine the coordinates of vertices by solving Demand constraint: Give me whatever is available (≤ D1)
simultaneous eqn in 2 variables NOTE: Optimal Solution will not always choose individual least expensive routes, it will
• Plug the vertices in the obj fn & compare the values choose routes such that total cost is minimised. SEE THE OVERALL COST!
• Figure our which vertex max / min the obj fn
Telecom Optics
Assumptions underlying a linear optimization model
• Single objective
• Linearity
• Divisibility: Variable can take fractional values
• Data certainty: Coeff. are not random variables
1. Feasible Region
• Feasible region is defined purely by the constraints;
Obj fund has no role
• Feasible region can be: Bounded, Unbounded,
Empty (for infeasible LP)
• LP can have redundant constraints which can be
omitted w/o affecting feasible solution
2. Optimal Solution
• Always on the vertices or edges i.e. multiple
solutions (but solver gives only corner points)
• Determined by Objective function
3. Binding Constraints
• Resources completely used @optimality
• Line passing through the optimal soln
• corresponding resources are critical resources
The time to complete task B, tB, is a constant (4 days),
• Binding const. are defined w.r.t. optimal sol. tA can take as long as 10 days, but can be shortened
• Check for non-neg cont. also, if x1 = 0 à Binding by assigning additional resources to the task. For
every unit of additional resource assigned to task A,
4. Shadow Price the completion time reduces by half a day. Let xA
• Marginal value of the resource or constraint denote the number of additional resources assigned
• Change in obj. fn w.r.t a small change in availability to task A (clearly xA >=0). Due to budget constraints
we can assign at most 18 additional units to task A
of resource (everything else const.) Which of the following is the correct linear program
• Unit : slope or derivative (∆Obj fn/ ∆constraint RHS) that minimizes the project completion time subject to
• Sh. P. is same b/w a range of resource availability these constraints?
• Sh. P. of Non-Binding constraint = 0
• Diminishing Marginal Val. (Sh P↓ w/ ↑ in RHS)
Solver Errors:
• Solver could not find a feasible solution: Feasible
region = empty/ LP infeasible (Qty reqd ≥ available)
• Obj. cell values do not converge: Some constraints
are missed à region is very large/ unbounded
Southwest Airlines