Docsity

Operation Research Summary, Summaries of Operational Research

Toggle sidebar
bg1
Operation Research Ch2 Lec2 Modeling with Linear Programming
Graphical Solution in Linear Programming
Components of an LP Model
All Operations Research (OR) models, including Linear Programming (LP), consist of four main components:
1. Decision Variables: variables whose values we want to determine.
2. Objective Function: the goal that must be optimized (maximize or minimize).
3. Constraints: restrictions or limitations that the solution must satisfy.
4. Non-Negativity Conditions: decision variables cannot take negative values.
Properly defining the decision variables is the first and most important step in building the LP model. After
defining them, constructing the objective function and constraints becomes easier.
Important Note, In Linear Programming:
• The objective function must be linear.
• The constraint functions must also be linear.
• All model parameters (coefficients in objective function and constraints) are assumed to be known with
certainty.
Assumptions of Linear Programming
Linear Programming models are based on four main assumptions:
1. Linearity: relationships between variables are linear.
2. Divisibility: decision variables can take fractional values.
3. Certainty: all coefficients in the model are known and constant.
4. Non-Negativity: decision variables cannot be negative.
Graphical Method Procedure
The graphical method is used to solve LP problems with two decision variables.
Steps:
1. Formulate the LP model.
2. Plot the constraints on a graph.
3. Determine the feasible region.
4. Identify the corner points.
5. Evaluate the objective function at each corner point.
The corner point that gives the best value of the objective function is the optimal solution.
pf3
pf4
pf5

Partial preview of the text

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

Operation Research Ch2 Lec2 Modeling with Linear Programming

Graphical Solution in Linear Programming Components of an LP Model All Operations Research (OR) models, including Linear Programming (LP), consist of four main components:

  1. Decision Variables: variables whose values we want to determine.
  2. Objective Function: the goal that must be optimized (maximize or minimize).
  3. Constraints: restrictions or limitations that the solution must satisfy.
  4. Non-Negativity Conditions: decision variables cannot take negative values. Properly defining the decision variables is the first and most important step in building the LP model. After defining them, constructing the objective function and constraints becomes easier. Important Note, In Linear Programming:
  • The objective function must be linear.
  • The constraint functions must also be linear.
  • All model parameters (coefficients in objective function and constraints) are assumed to be known with certainty. Assumptions of Linear Programming Linear Programming models are based on four main assumptions:
  1. Linearity: relationships between variables are linear.
  2. Divisibility: decision variables can take fractional values.
  3. Certainty: all coefficients in the model are known and constant.
  4. Non-Negativity: decision variables cannot be negative. Graphical Method Procedure The graphical method is used to solve LP problems with two decision variables. Steps:
  5. Formulate the LP model.
  6. Plot the constraints on a graph.
  7. Determine the feasible region.
  8. Identify the corner points.
  9. Evaluate the objective function at each corner point. The corner point that gives the best value of the objective function is the optimal solution.

Solution Steps (Graphical Method) Step 1: Convert each constraint inequality into an equation. Step 2: Draw each constraint line on the graph. Step 3: Identify the feasible region (the area that satisfies all constraints). Step 4: Determine the corner points of the feasible region. Step 5: Substitute each corner point into the objective function to find the optimal solution. Graphical Solution Main Idea: The graphical solution is used for a two-variable LP problem. It includes two basic steps:

  1. Determine the feasible region that satisfies all constraints.
  2. Determine the optimum solution from the points in the feasible region. Linearity implies that the LP must satisfy three basic properties.
  1. Proportionality: The contribution of each decision variable in both the objective function and the constraints is directly proportional to the value of the variable. Meaning: If the value of a variable doubles, its contribution to the objective function and constraints also doubles. Problem Formulation Decision Variables: X₁: tons produced daily of exterior paint. X₂: tons produced daily of interior paint. Objective Function: Maximize Z = 5X₁ + 4X₂ explanation: We wrote this because profit per ton is: 5 for exterior paint, 4 for interior paint So total profit = profit of exterior + profit of interior. Constraints
  2. Raw Material M1 Constraint: 6X₁ + 4X₂ ≤ 24
  3. Raw Material M2 Constraint: X₁ + 2X₂ ≤ 6
  4. Demand Relation Constraint: X₂ - X₁ ≤ 1 Why? Because interior paint cannot exceed exterior paint by more than 1 ton.
  5. Maximum Interior Demand Constraint: X₂ ≤ 2 Why?:Because the maximum daily demand for interior paint is 2 tons.
  6. Non-Negativity Constraints: X₁ ≥ 0 X₂ ≥ 0 Why? Because production quantities cannot be negative. Final LP Model: Maximize Z = 5X₁ + 4X₂ Subject to: 6X₁ + 4X₂ ≤ 24 X₁ + 2X₂ ≤ 6 X₂ - X₁ ≤ 1 X₂ ≤ 2 X₁ ≥ 0, X₂ ≥ 0 Important Note
  • Any solution that satisfies all constraints is called a feasible solution.
  • But we are interested in the optimal feasible solution that gives the maximum total profit.
  • Also, in this example, both the objective function and the constraints are linear.

Step 2: Determination of the Optimal Solution After determining all feasible half spaces, the feasible region is formed. The feasible region is the polygon formed by the corner points: A, B, C, D, E, F Any point inside or on the boundary of this region satisfies all constraints. Thus it is called a feasible solution. The feasible region contains an infinite number of feasible solutions. Finding the Optimum Solution: To find the optimum solution, we determine the direction in which the objective function increases. For the Reddy Mikks model: Maximize z = 5x₁ + 4x₂… We assign increasing values to z, for example: 5x₁ + 4x₂ = 10 5x₁ + 4x₂ = 15 Then we plot these lines on the graph and move them in the direction of increasing z. The optimum solution occurs at the last point in the feasible region touched by the objective function line. In this example, the optimum occurs at corner point C. Coordinates of the Optimum Point Point C is found by solving the two binding constraints: 6x₁ + 4x₂ = 24 x₁ + 2x₂ = 6 Solving them gives: x₁ = 3, x₂ = 1. Then: z = 5(3) + 4(1.5) = 15 + 6 = 21 So the optimum production plan is: x₁ = 3 tons of exterior paint x₂ = 1.5 tons of interior paint Maximum daily profit: z = 21 thousand dollars = $21, Important Characteristic of the Optimum LP Solution: An important characteristic of the optimum LP solution is that it is always associated with a corner point of the feasible solution space, where two lines intersect. Alternative Optimum Solution If the objective function is parallel to a constraint, there may be more than one optimum solution. For example, if the objective function is: z = 6x₁ + 4x₂ This objective function is parallel to the constraint: 6x₁ + 4x₂ = 24 In this case, the optimum occurs at either corner point B or corner point C. Actually, any point on the line segment BC will be an alternative optimum solution.

So: Alternative Optimum Solution: more than one feasible solution gives the same optimum value of the objective function. Corner Point Enumeration Method Since the optimum LP solution is associated with a corner point, we can find it by evaluating the objective function at all corner points. Thus, the largest value is: z = 21 at point C So point C is the optimum solution. General Notes

  • As the number of constraints and variables increases, the number of corner points also increases.
  • The graphical solution method is practical mainly when the LP problem has two decision variables.
  • The chapter explains how LP transforms real-world problems into mathematical inequalities.
  • The main elements of any LP model are: o Decision Variables o Objective Function o Constraints
  • The graphical method helps identify: o Feasible Solution Space o Optimum Solution
  • Linear programming is an important tool for optimization, cost reduction, and efficient resource allocation.