Operations Research: Models and Methods

Unlock the power of Operations Research! Explore key models like LP, graph theory, and project management methods. Master decision-making for optimal solutions. Start learning!

Podcast

Optimalizujte svoj svet: Úvod do lineárneho programovania0:00 / 15:57
0:001:00 zbývá

Operations Research (OR) provides a scientific framework for decision-making, using mathematical models to find optimal solutions under specific constraints. This field is crucial for managers seeking to choose the best actions, compare alternatives, and enhance resource utilization across various domains. Understanding its core models and methods is essential for anyone looking to optimize complex systems, from business operations to project management.

What is Operations Research: A Foundation for Optimal Decisions

Operations Research is a scientific decision-making approach that employs mathematical models to find the best solution given certain limits. Its primary purpose is to help managers select optimal actions by modeling real-world problems, rigorously comparing different alternatives, and ultimately improving the efficient use of resources. This approach allows for a systematic way to tackle complex challenges.

Core Models in Operations Research

OR utilizes various models tailored to different problem types. Some typical models include:

  • Linear Programming (LP): Used for optimizing a linear objective function subject to linear equality and inequality constraints.
  • Transportation Models: Specifically designed for minimizing the cost of shipping goods from sources to destinations.
  • Network/Graph Models: Essential for problems involving routes, flows, and connections, like shortest path or maximum flow.
  • Inventory Models: Help manage stock levels to balance costs and service.
  • Queueing Models: Analyze waiting lines to optimize service systems.
  • Simulation: Used to model complex systems that are difficult to analyze mathematically, allowing for experimentation.

The Process of Developing a Mathematical Model

Developing an effective mathematical model follows a structured process:

  1. Define the Problem: Clearly articulate what needs to be solved.
  2. Choose Variables: Identify the unknown decisions that need to be made.
  3. Set the Objective: Determine what needs to be maximized (e.g., profit) or minimized (e.g., cost).
  4. Add Constraints: Define the limits or requirements of the system.
  5. Collect Parameters: Gather all fixed, known input values.
  6. Solve: Apply appropriate algorithms or software to find a solution.
  7. Validate: Check if the model accurately represents the real-world situation.
  8. Interpret Results: Translate the mathematical solution back into actionable insights.

Parameters vs. Variables in Models

It's important to distinguish between parameters and variables in mathematical models:

  • Parameters: These are fixed, known inputs to the model. For example, the cost per unit of a raw material is a parameter.
  • Variables: These are the unknown decisions that the model aims to determine. For instance, the number of units to produce is a variable.

Deep Dive into Linear Programming (LP) Concepts

Linear Programming (LP) is a cornerstone of Operations Research. It involves optimizing a linear objective function, such as maximizing profit or minimizing cost, subject to a set of linear constraints that represent resource limitations or requirements.

Key Assumptions in Linear Programming

LP models operate under several important assumptions:

  • Linearity: The relationships between variables, in both the objective function and constraints, are directly proportional. This means effects are proportional.
  • Additivity: The total contribution of variables is the sum of their individual contributions. In other words, totals are sums.
  • Divisibility: Decision variables can take on fractional values. This means variables can be fractional.
  • Certainty: All coefficients and parameters in the model are known constants and do not change during the planning period. Coefficients are known.

Essential Components of an LP Model

Every LP model consists of several core elements:

  • Decision Variables: The unknown quantities that the model aims to determine.
  • Objective Function: A linear mathematical expression to be maximized or minimized (e.g., maximize profit Z = 5x + 3y).
  • Constraints: Linear equalities or inequalities that represent limitations or requirements (e.g., ax + by <= c).
  • Parameters/Coefficient Values: The numerical constants used in the objective function and constraints.
  • Non-negativity Restrictions: Variables typically cannot be negative (x >= 0, y >= 0).

Understanding Constraints and the Objective Function

  • Constraints are the limits or requirements within which a solution must operate. They are represented as linear equalities or inequalities, such as ax + by <= c.
  • The Objective Function is the linear expression that you want to optimize. For example, if you want to maximize profit, it might be Z = 5x + 3y. To convert a maximization problem to a minimization problem, you simply multiply the objective function by -1; maximizing Z is equivalent to minimizing -Z, and the feasible region remains the same.

Simplex Method and Graphical Solutions for LP

The Simplex Method is an algebraic procedure for solving linear programming problems. Graphically, the optimal solution is found by drawing the feasible region (the intersection of all constraint regions) and then moving the objective function line in the improving direction (towards higher values for maximization, lower for minimization) to find the last touching corner point.

Special Cases in LP Solutions

  • Alternative Optimal Solutions: Occur when more than one feasible solution provides the same best objective value. In simplex, a non-basic variable has a zero reduced cost at optimum. Graphically, the objective line overlaps an edge of the feasible region.
  • Degenerate Solution: A basic feasible solution where at least one basic variable equals zero. In simplex, a tie or zero minimum ratio can lead to a pivot without improving the objective value.
  • Unbounded Solution: The objective function can be improved indefinitely because the feasible region is open in that direction. In simplex, an entering variable has no valid leaving variable because all entries in its column are <= 0 for a maximization problem.
  • Infeasible Solution: No point satisfies all constraints simultaneously. In simplex, artificial variables cannot be removed from the basis. Graphically, the constraint regions do not overlap, leaving no feasible region.

Simplex Method: Maximization vs. Minimization

There's a key difference in how maximization and minimization calculations are handled in simplex:

  • Maximization: Usually enters the variable with the most positive improving coefficient.
  • Minimization: Uses the opposite sign rule or is converted to a maximization problem by multiplying the objective function by -1.

Graph Theory in Operations Research: Networks and Connections

Graph theory is fundamental to many OR problems, providing tools to model relationships, routes, and flows. Graphs consist of nodes (vertices) and edges (arcs) connecting them.

Activity Networks: AOA vs. AON

Project management often uses activity networks:

  • Activity-on-Arrow (AOA): Activities are represented by arrows, and events are represented by nodes. AOA mainly uses finish-to-start logic; dummy arrows (zero duration) may show dependencies without duration.
  • Activity-on-Node (AON): Activities are represented by nodes, and dependencies are represented by arrows. AON is generally more flexible for various dependency types.

Types of Connections in Activity Networks

Common connection types in project networks include:

  • FS (Finish-to-Start): Successor starts after predecessor finishes.
  • SS (Start-to-Start): Successor starts after predecessor starts.
  • FF (Finish-to-Finish): Successor finishes after predecessor finishes.

Eulerian Circuits and the Chinese Postman Problem

  • Odd-degree vertex: A vertex connected to an odd number of edges.
  • Eulerian circuit: A closed route that starts and ends at the same vertex and uses every edge exactly once.
  • Chinese Postman Problem: Aims to find the shortest route that traverses every street in a network at least once and returns to the start. If the graph is not Eulerian (has odd-degree vertices), the solution involves finding odd-degree vertices, pairing them with the shortest paths of minimum total weight, duplicating those paths (thus making all degrees even), and then finding an Eulerian circuit.

Paths, Cycles, and Complete Graphs

  • Path: A sequence of distinct vertices connected by edges, with no repeated vertices (e.g., A-B-C).
  • Cycle: A path that starts and ends at the same vertex (e.g., A-B-C-A).
  • Usage: Paths are used in shortest path and routing problems. Cycles are used in Chinese Postman, tours, and circuit problems.
  • Complete Graph: A graph where every pair of distinct vertices is connected by an edge. For a complete graph Kn, its chromatic number (minimum colors needed for adjacent vertices to have different colors) is n.

Weighted Graphs and Their Interpretations

  • Weighted Graph: A graph where edges or vertices have numerical values (weights), such as cost, time, distance, or capacity.
  • Interpretations: Weights can represent distance in routing problems, time in scheduling, cost in transportation, or capacity in flow networks.

Chromatic Number and Map Colouring

  • Chromatic Number: The minimum number of colors needed such that adjacent vertices in a graph have different colors.
  • Significance in Scheduling: It gives the minimum number of time slots or resources required when conflicting activities cannot occur simultaneously.
  • Map Colouring Problem: To color regions on a map so that neighboring regions have different colors, using as few colors as possible.

Maximum Flow Problem

  • Main Goal: To send the largest possible flow from a source to a sink through a network with capacity limits on its edges.
  • Representation: Nodes are junctions, directed edges are routes, and capacities are the maximum allowed flow on each route.
  • Saturated Path/Edge: An edge or path whose capacity is fully used, meaning no more flow can pass through it in that direction.
  • Feasible Network Flow Rules:
  1. Flow conservation at intermediate nodes (flow in equals flow out).
  2. Flow on each edge must be less than or equal to its capacity.
  3. Total flow leaving the source must equal total flow entering the sink.

Ford-Fulkerson Algorithm

This algorithm is used to solve the Maximum Flow Problem:

  1. Start with zero flow.
  2. Repeatedly find an augmenting path (a source-to-sink path in the residual graph that can still carry additional flow).
  3. Add the bottleneck capacity (the smallest residual capacity on that path) to the total flow.
  4. Update the residual graph (a graph showing remaining capacities forward and possible flow cancellation backward).
  5. Stop when no augmenting path exists.

Shortest Path Problem: Dijkstra's Algorithm

Dijkstra's algorithm finds the shortest path from a single source node to all other nodes in a graph with non-negative edge weights.

  • Process: Start at the source with distance 0, repeatedly choose the unvisited node with the smallest tentative distance, relax its outgoing edges (update distances to neighbors if a shorter path is found), and continue until all nodes are visited or the target is reached.
  • LP Model for Shortest Path: Let xij = 1 if arc i-j is chosen. Minimize sum cij xij (cost) subject to flow balance constraints: source sends 1 unit, sink receives 1 unit, and other nodes have 0 net flow.

Spanning Trees: MST Algorithms (Prim and Kruskal)

  • Spanning Tree: A connected subgraph that includes all vertices of the original graph and contains no cycles. For n vertices, it has n-1 edges, is connected, acyclic, and has exactly one path between any two vertices.
  • Minimum Spanning Tree (MST): A spanning tree with the minimum total edge weight; it connects all vertices without cycles at the lowest possible cost.
  • Prim's Algorithm: Grows one tree from a starting vertex by repeatedly adding the cheapest edge connecting a vertex in the tree to a vertex outside the tree.
  • Kruskal's Algorithm: Sorts all edges by weight in ascending order and adds the cheapest edges that do not form a cycle until all vertices are connected.

Social Network Analysis (SNA)

SNA studies relationships between actors (people, organizations) as graphs, identifying patterns and structures. It's important for finding influencers, detecting communities, understanding information flow, and analyzing market/social structures.

  • Degree Centrality: Measures the number of direct connections a node has. Normalized degree centrality is the degree divided by (n-1), where n is the number of nodes.
  • Betweenness Centrality: Measures how often a node lies on the shortest paths between other nodes. A node with high betweenness centrality acts as a 'bridge'.

Advanced LP Concepts and Simplex Mechanics

Beyond basic solutions, LP involves more nuanced concepts for constraint management and solution interpretation.

Redundancy in LP Constraints

  • Redundant Constraint: A constraint is redundant if removing it does not change the feasible region or the optimal solution. It is implied by other constraints.
  • Resolution: Redundant constraints can be identified and removed to simplify the model without affecting the outcome.

Basic Solutions and the B-inverse Matrix

  • Basic Solution: In simplex, a basic solution is formed by choosing m basic variables (where m is the number of independent constraints), setting all non-basic variables to zero, and solving the constraint equations for the basic variables. At most m variables in a basic solution have non-zero values.
  • B-inverse Matrix: B^-1 is the inverse of the current basis matrix. It transforms the Right-Hand Side (RHS) values of the constraints into the current values of the basic variables (xB = B^-1 * b_new). In the simplex tableau, it is represented under the slack or basic variable columns.

Adding a New Variable to an Optimum Solution

If a new variable is introduced after an optimal solution has been found, you can add its corresponding column to the tableau, compute its reduced cost. If the reduced cost indicates an improvement is possible, pivot to incorporate it; otherwise, the current solution remains optimal.

Flashcards

1 / 31

What does it mean when total supply equals total demand in a network model and what do you do if not?

Total supply equals total demand; if not, add a dummy source or destination.

Tap to flip · Swipe to navigate

Applications of Linear Programming

LP is a versatile tool used across many industries to optimize resource allocation, scheduling, and logistics.

Production Planning

  • LP Model Construction: Variables represent production quantities for each product. The objective is to maximize total profit or minimize total production cost, subject to resource, demand, and capacity limits.
  • Typical Constraints: Machine hours, labor hours, material availability, storage capacity, minimum/maximum demand.
  • Typical Objective: Maximize total profit or minimize total production cost.

Diet Problems

  • LP Model Construction: Variables represent quantities of different foods. The objective is to minimize total food cost while meeting specific nutritional requirements.
  • Typical Constraints: Minimum/maximum calories, protein, vitamins, minerals, fat, budget, and serving limits.
  • Typical Objective: Minimize total cost while satisfying nutritional requirements.

Cutting Stock Problems

  • LP Model Construction: Variables represent the number of times each cutting pattern is used. The goal is to meet demand for various item sizes while minimizing waste or the number of raw rolls/sheets utilized.
  • Typical Constraints: Demand for each cut size, raw material length/width, allowed cutting patterns, non-negativity/integer use.
  • Typical Objective: Minimize total waste or minimize the number/cost of stock pieces used.

Employee Scheduling

  • LP Model Construction: Variables represent the number of employees assigned to specific shifts or tasks. The objective is to cover staff demand while respecting work rules and minimizing labor cost.
  • Typical Constraints: Required staff per period, maximum working hours, days off, skill requirements, legal/contractual rules.
  • Typical Objective: Minimize labor cost or the number of workers while covering all shifts.

Portfolio Optimization

  • Definition and Goal: Choosing asset weights to achieve the best expected return for an acceptable level of risk. The primary goal is to find an optimal balance between risk and return.
  • Risk-Return Trade-off: Higher expected returns typically come with higher risk. Diversification helps reduce unsystematic risk. Investors choose based on their individual risk tolerance.
  • 5% Portfolio Rule: A common diversification guideline suggesting not to invest more than 5% of a portfolio into a single asset. This limits potential losses from one poor investment and improves overall diversification.
  • Role of LP: LP allocates money among different assets subject to budget, risk, return targets, diversification rules, and legal constraints.
  • Basic LP Formulation for Investment: Let xi be the money invested in asset i. Maximize sum (ri * xi) (expected return) subject to sum xi = budget, a defined risk limit, xi <= 5% of budget, and xi >= 0.

Transportation Model

  • Main Components: Sources (with supply), destinations (with demand), shipping costs (cij) between sources and destinations, and the quantities transported (xij).
  • Unavailable Connection: To model an unavailable transportation connection between source i and destination j, set xij = 0 or assign a very large cost (M) to that route to ensure it is not chosen.
  • LP Model: Minimize total shipping cost (sum cij xij) subject to source supply constraints (sum xij for each source <= supply) and destination demand constraints (sum xij for each destination >= demand).
  • Balanced Model: In a balanced transportation model, total supply equals total demand. If not, a dummy source or destination is added to balance it.

Project Management: Critical Path Method (CPM)

CPM is a project scheduling technique used to manage complex projects efficiently.

  • Project Definition: A temporary effort with a unique goal, defined start and end dates, allocated resources, and specific deliverables.
  • Project Golden Triangle: The interrelationship between scope, time, and cost. Changing one (e.g., adding features to the scope) typically affects the others (requiring more time or money).
  • Gantt Chart: A bar chart illustrating a project schedule, showing activities on a timeline with their start dates, durations, and dependencies or progress.
  • Work Breakdown Structure (WBS): Decomposes the project into smaller, manageable work packages. CPM uses these activities to build the project schedule network.
  • Steps of the CPM Method:
  1. List all project activities.
  2. Define dependencies between activities.
  3. Estimate the duration for each activity.
  4. Draw the network diagram.
  5. Perform a forward pass to calculate earliest start (ES) and earliest finish (EF) times.
  6. Perform a backward pass to calculate latest start (LS) and latest finish (LF) times.
  7. Calculate Total Float (TF = LS - ES = LF - EF) and Free Float (FF = earliest successor ES - activity EF).
  8. Identify the Critical Path.
  • Critical Path: The longest path through the project network, determining the shortest possible project duration. Activities on the critical path have zero total float.
  • CPM Network Graph: A directed, weighted graph where nodes represent events or activities, arcs represent activities or dependencies, and weights usually represent activity durations. Arc weights can also represent time lags, cost, or required time. CPM graphs are oriented due to the time order of dependencies.
  • Fictive Arc: A dummy activity with zero duration used in AOA diagrams to show dependencies without implying any work or time expenditure.
  • Waterfall vs. Agile: Waterfall project management is sequential and plan-driven, progressing linearly. Agile is iterative, flexible, and delivers work in small increments.
  • Finding Critical Path with LP: Maximize the project completion time subject to precedence constraints (e.g., start_j >= start_i + duration_i). Activities with zero slack (float) will form the critical path.

FAQ: Operations Research Models & Methods for Students

What are the main benefits of using Operations Research in decision-making?

Operations Research offers several significant benefits, including optimizing resource allocation, reducing costs, improving efficiency, enhancing decision quality, and providing a structured, scientific approach to complex problems. It helps managers move beyond intuition to data-driven choices.

How do I distinguish between parameters and variables when setting up an LP model?

Parameters are the fixed, known values or inputs in your model, like the cost per unit of material or available machine hours. Variables are the unknown quantities that your model needs to determine, such as how many units to produce or how many employees to schedule. Think of parameters as the 'givens' and variables as the 'decisions'.

What are the real-world implications of alternative optimal solutions in Linear Programming?

Alternative optimal solutions mean that there is more than one way to achieve the best possible outcome (e.g., the same maximum profit or minimum cost). This gives decision-makers flexibility. For example, a company might choose an alternative optimal production plan that is easier to implement or has a lower environmental impact, even though the profit is identical to another optimal plan.

How does the critical path help in managing a project effectively?

The critical path is vital because it identifies the sequence of activities that dictates the shortest possible duration for the entire project. By focusing management attention on these critical activities, project managers can ensure that delays are minimized. Any delay on the critical path will directly delay the project's overall completion, making it a key focus for monitoring and control.

Can Operations Research models handle uncertainty, and if so, how?

While many basic OR models assume certainty, more advanced techniques are designed to handle uncertainty. These include stochastic programming, where parameters are random variables, and simulation, which can model complex systems with probabilistic inputs. Sensitivity analysis in LP also helps understand how changes in uncertain parameters might affect the optimal solution, providing insights into risk.

Sign up to access full content

Create a free account to unlock all study materials, take interactive tests, listen to podcasts and more.

Create free account

Related topics