Operations Research Lecture Notes Flashcards

TERMINOLOGY AND DEFINITION OF OPERATIONS RESEARCH

  • Terminology Variation: The field is referred to as "operational research" in Britain and Europe, whereas Americans use the term "operations research". Both are commonly shortened to OR.
  • Additional Terms: The field is also known as Management Science (MS). In the USA, these are often combined into OR/MS or ORMS. Other related terms include Industrial Engineering (IE), Decision Science (DS), and Problem Solving. In recent years, "OR" has become the standard global term.
  • Definition: Operations Research (Management Science) is a scientific approach to decision-making that seeks to best design and operate a system, usually under conditions requiring the allocation of scarce resources.
  • Definition of a System: A system is an organization of interdependent components that work together to accomplish the goal of the system.

THE SEVEN-STEP METHODOLOGY OF OR

  1. Step 1: Formulate the Problem: The OR analyst defines the organization's problem, including specific objectives and the parts of the system that must be studied.
  2. Step 2: Observe the System: The analyst collects data to estimate parameter values affecting the problem. These estimates are necessary for model development and evaluation.
  3. Step 3: Formulate a Mathematical Model: The analyst develops an idealized mathematical representation of the problem.
  4. Step 4: Verify the Model and Use for Prediction: The analyst determines if the model accurately represents reality and checks its validity for the current situation.
  5. Step 5: Select a Suitable Alternative: Given a set of alternatives and restrictions/constraints, the analyst chooses the option that best meets the objectives. If a perfect alternative is too costly or impossible to find, the best available is chosen.
  6. Step 6: Present Results and Conclusions: Recommendations are presented to decision-makers. If the recommendations are rejected due to incorrect definitions or lack of involvement, the analyst returns to Steps 1, 2, or 3.
  7. Step 7: Implement and Evaluate Recommendation: After acceptance, the analyst aids in implementation. The system must be monitored and updated dynamically as environments change.

HISTORY OF OPERATIONS RESEARCH

  • Origins: OR began systematically in the UK in the late 1930s.
  • Early Military Context:
    • 1936: The British Air Ministry established Bawdsey Research Station near Felixstowe, Suffolk, for pre-war radar experiments.
    • 1936: RAF Fighter Command was created; it lacked effective aircraft and used elementary control systems initially.
    • Biggin Hill Experiments: Tests were conducted to integrate radar data with ground-based observer data for fighter interception.
    • 1937-1938 Exercises: Early air-defense exercises showed that radar was technically feasible but operational achievements were poor due to conflicting information from multiple stations.
  • Coining the Term: A.P. Rowe, Superintendent of Bawdsey Research Station, proposed research into "operational" rather than just "technical" aspects. The term "operational research" (research into military operations) was coined.
  • Strategic Impact: In May 1940, OR analysts used graphs to show Winston Churchill that sending ten more fighter squadrons to France would deplete RAF strength too rapidly. The squadrons were saved for the Battle of Britain.
  • Scientific Minds: Early workers included physicists, physiologists, and surveyors. Four wartime OR personnel eventually won Nobel prizes in their peacetime fields.
  • Post-WWII Growth: OR spread to the US and UK in different ways. The expansion over the last 30 years is largely attributed to the increasing power and availability of computers for complex numeric calculations.

BASIC OR CONCEPTS AND MODELING

  • Mathematical Model Components:
    • Decision Variables: The unknowns to be determined by the solution.
    • Constraints: Physical limitations of the system.
    • Objective Function: The mathematical expression sought to be optimized.
  • Feasibility and Optimality:
    • Feasible Solution: Satisfies all constraints.
    • Optimal Solution: A feasible solution that yields the best objective function value.
  • Two Mines Example Case Study:
    • Mines: Mine X (Cost: £180,000/day\pounds 180,000/day) and Mine Y (Cost: £160,000/day\pounds 160,000/day).
    • Production (tons/day):
      • Mine X: High (6), Medium (3), Low (4)
      • Mine Y: High (1), Medium (1), Low (6)
    • Contract Requirements: High (12 tons), Medium (8 tons), Low (24 tons) per week.
    • Formulation:
      • Variables: xx (days per week Mine X), yy (days per week Mine Y).
      • Objective: Minimize z=180x+160yz = 180x + 160y
      • Constraints:
        • 6x+y126x + y \ge 12
        • 3x+y83x + y \ge 8
        • 4x+6y244x + 6y \ge 24
        • x5,y5,x,y0x \le 5, y \le 5, x, y \ge 0
    • General Modeling Rules: Choose inequalities over equalities to allow more flexibility in optimization. Over-constrained systems (like replacing \ge with == in the Two Mines example) often have no solution.

LINEAR PROGRAMMING (LP) ASSUMPTIONS

  1. Proportionality: The contribution of each variable to the objective and LHS of constraints is proportional to its value. Production of 4 units costs exactly 4 times the production of 1 unit.
  2. Additivity: The contribution of any variable is independent of others. The total objective value is the sum of individual contributions.
  3. Divisibility: Variables are allowed to assume fractional values (e.g., 1.691.69 boats).
  4. Certainty: Each parameter is known with absolute certainty.

LINEAR PROGRAMMING FORMULATION EXAMPLES

  • Giapetto Wood Carving:
    • Objective: Maximize profit z=3x1+2x2z = 3x_1 + 2x_2
    • Constraints: Finishing (2x1+x21002x_1 + x_2 \le 100), Carpentry (x1+x280x_1 + x_2 \le 80), Demand for soldiers (x140x_1 \le 40).
    • Result: x1=20,x2=60,z=180x_1=20, x_2=60, z=180.
  • Advertisement Example:
    • Objective: Minimize cost z=50x1+100x2z = 50x_1 + 100x_2
    • Constraints: High-income women (7x1+2x2287x_1 + 2x_2 \ge 28), High-income men (2x1+12x2242x_1 + 12x_2 \ge 24).
    • Result: x1=3.6,x2=1.4,z=320x_1=3.6, x_2=1.4, z=320.
  • Diet Example:
    • Minimize total cents w=50x1+20x2+30x3+80x4w = 50x_1 + 20x_2 + 30x_3 + 80x_4
    • Constraints for calories, chocolate, sugar, and fat based on intake requirements.
  • Sailco Multi-period Inventory:
    • Links inventory across periods: it=it1+xt+ytdti_t = i_{t-1} + x_t + y_t - d_t. Minimizes regular time (xtx_t), overtime (yty_t), and holding costs.

THE SIMPLEX ALGORITHM

  • Concept: Moves between adjacent vertices of the feasible region to improve the objective function until optimality.
  • Standard Form: All constraints are equations (using slack or excess variables), and all variables are non-negative.
  • Steps:
    1. Convert to standard form.
    2. Identify starting Basic Feasible Solution (BFS).
    3. Perform ratio test to find leaving variable: min(RHSCoefficient of entering variable)\min \left( \frac{\text{RHS}}{\text{Coefficient of entering variable}} \right) for positive coefficients.
    4. Pivot using Elementary Row Operations (EROs) to update basis.
  • Unbounded LP: Occurs if the ratio test fails because no positive coefficients exist in the pivot column.
  • Alternative Optimal Solutions: Occur if a non-basic variable has a coefficient of 0 in the optimal Row 0.

THE BIG M METHOD FOR ARTIFICIAL VARIABLES

  • Usage: For constraints of type \ge or ==, where a starting BFS is not obvious.
  • Steps:
    1. Add an artificial variable aia_i to \ge (which also have excess variables eie_i) and == constraints.
    2. For a minimization problem, add MaiMa_i to the objective function (where MM is a very large positive number). For maximization, add Mai-Ma_i.
    3. Eliminate aia_i from Row 0 using EROs before starting simplex.
  • Interpretation: If any ai>0a_i > 0 in the optimal solution, the original problem is infeasible.

DUALITY IN LINEAR PROGRAMMING

  • Primal-Dual Relationships: Every Max problem has an associated Min problem.
    • Primal Max (\le) \rightarrow Dual Min (\ge).
    • Primal objective coefficients \rightarrow Dual RHS.
    • Primal RHS \rightarrow Dual objective coefficients.
  • Non-normal Transitions:
    • If primal constraint ii is \ge, dual variable yi0y_i \le 0.
    • If primal constraint ii is ==, dual variable yiy_i is unrestricted in sign (urs).
    • If primal variable xjx_j is urs, dual constraint jj is an equality.
  • Dual Theorem: The optimal objective values of the primal and dual are equal (z=wz = w).
  • Weak Duality: For any feasible solution, Max Primals are always \le Min Duals (zwz \le w).
  • Economic Interpretation: Dual variables represent the Shadow Price of resources.

SENSITIVITY ANALYSIS

  • Reduced Cost: The amount by which a non-basic variable's objective coefficient must improve before it can become a basic variable.
  • Shadow Price: The improvement in the optimal objective value (zz) if the RHS of a constraint increases by 1 unit.
    • Max problems: znew=zold+(ΔRHS×Shadow Price)z_{\text{new}} = z_{\text{old}} + (\Delta \text{RHS} \times \text{Shadow Price}).
    • Min problems: znew=zold(ΔRHS×Shadow Price)z_{\text{new}} = z_{\text{old}} - (\Delta \text{RHS} \times \text{Shadow Price}).
  • 100% Rule for Objective Coefficients: If changes occur to variables with zero reduced costs, calculate rj=ΔcjAllowable Increase/Decreaser_j = \frac{\Delta c_j}{\text{Allowable Increase/Decrease}}. If rj1\sum r_j \le 1, the current basis remains optimal.
  • 100% Rule for RHS: Similarly, calculate ri=ΔbiAllowable Increase/Decreaser_i = \frac{\Delta b_i}{\text{Allowable Increase/Decrease}}. If ri1\sum r_i \le 1, current basis remains optimal, though variable values may change.

TRANSPORTATION PROBLEMS

  • Definition: Shipping goods from mm supply points (sis_i) to nn demand points (djd_j) at minimum cost (cijc_{ij}).
  • Balanced Problem: si=dj\sum s_i = \sum d_j. If unbalanced, add dummy points with zero cost.
  • Initial BFS Methods:
    • Northwest Corner (NWC): Assigns values starting from the top-left cell.
    • Minimum Cost Method: Assigns values to the cell with the lowest unit cost.
    • Vogel's Method: Uses "penalties" (difference between two smallest row/column costs) to prioritize assignments.
  • Transportation Simplex: Uses multipliers uiu_i and vjv_j such that u1=0u_1=0 and ui+vj=ciju_i + v_j = c_{ij} for basic variables. Optimality is reached when ui+vjcij0u_i + v_j - c_{ij} \le 0 for all non-basic cells.
  • Loops: A closed path of at least four cells used to pivot in transportation problems.
  • Transshipment: Conversion involves supply/demand points and transshipment points. Transshipment point supply/demand becomes Original+S\text{Original} + S (where S=total supplyS = \text{total supply}).
  • Assignment Problem: Specialized transportation where si=1s_i = 1 and dj=1d_j = 1. Solved using the Hungarian Method.

INTEGER PROGRAMMING (IP) FORMULATION

  • Types: Pure IP (all integers), Mixed IP (some integers), Binary IP (0-1 variables).
  • Fixed Charge Logic: To model a fixed cost for an activity xx, introduce binary variable yy and constraint xMyx \le My.
  • Either-Or Constraints: To ensure either f(x)0f(x) \le 0 or g(x)0g(x) \le 0 is met:
    • f(x)Myf(x) \le My
    • g(x)M(1y)g(x) \le M(1-y)
  • If-Then Constraints: To model "If f(x)>0f(x) > 0 then g(x)0g(x) \ge 0":
    • g(x)My-g(x) \le My
    • f(x)M(1y)f(x) \le M(1-y)
  • Traveling Salesperson Problem (TSP): Finds the cheapest tour visiting NN cities exactly once.
    • Subtour elimination: uiuj+NxijN1u_i - u_j + Nx_{ij} \le N - 1 for i,j>1i, j > 1.

SOLVING INTEGER PROGRAMS

  • LP Relaxation (LR): Solving the IP as a standard LP by dropping integrality constraints. The optimal LR value provides a bound (zLRzIPz_{\text{LR}} \ge z_{\text{IP}} for max, zLRzIPz_{LR} \le z_{IP} for min).
  • Branch-and-Bound (B&B):
    • Divides the problem into sub-problems by branching on fractional variables (e.g., xi3x_i \le 3 and xi4x_i \ge 4 if xi=3.75x_i = 3.75).
    • Fathoming: A node is inactive if it is infeasible, yields an integer solution, or has a worse optimal value than the current Lower Bound (LB).
  • Knapsack Inspection: For maxcixi\max \sum c_ix_i s.t. aixib\sum a_ix_i \le b, compute ratios ri=ci/air_i = c_i / a_i. Fill the knapsack starting with the highest ratio.
  • Heuristics for TSP:
    • Nearest-Neighbor: Visit the closest unvisited city.
    • Cheapest-Insertion: Add cities to a subtour where they increase total length the least.
  • Gomory Cutting Planes: Strengthens LR by adding constraints that cut off fractional solutions.
    • A cut is generated as: Fractional parts of LHSFractional part of RHS\text{Fractional parts of LHS} \ge \text{Fractional part of RHS}.
    • Specifically: RHS fractional part(coeff fractional parts)×variable0\text{RHS fractional part} - \sum (\text{coeff fractional parts}) \times \text{variable} \le 0.