Grade 12

Grade 12Linear ProgrammingGraphical Method


Optimal solutions


Linear programming is a powerful mathematical method used to determine the best possible outcome in a given mathematical model. Its purpose is to optimize a particular objective, such as maximizing profit or minimizing cost, subject to a set of constraints. In this context, the "graphical method" is a visual approach to solving linear programming problems, especially useful for problems with two variables. Let's take a deeper look at how to find the "optimal solution" using this method.

Understanding the basics

The graphical method involves several steps, concepts, and terminology. Before discussing these, let's start with the basics:

  • Objective function: An expression that defines the goal of the optimization problem. For example, if we want to maximize profit, the objective function might look like z = 3x + 4y, where z represents profit.
  • Constraints: These are linear inequalities that limit the values that the decision variable can take. For example, x + 2y ≤ 20.
  • Feasible region: The region on the graph where all constraints are satisfied. This is the overlap region that represents all possible solutions.
  • Vertices of the feasible region: The points on the boundary of the feasible region where the constraints intersect. These are the potential candidates for the optimal solution.

Step-by-step graphical method for finding the optimal solution

Here is a brief description of how you can find the optimal solution using the graphical method:

Step 1: Formulation of the problem

Identify the objective function and constraints from the given problem statement.

For example:
Objective function: maximize z = 3x + 4y
restrictions:
1. x + 2y ≤ 20
2. x ≤ 10
3. y ≤ 8
4. x ≥ 0, y ≥ 0 (non-negativity condition)

Step 2: Graph the constraints

Graph each constraint on the same set of axes. This involves turning inequalities into equations to find lines on a 2D graph.

x + 2y = 20 --> Line 1
x = 10 --> line 2
y = 8 --> line 3

For the first condition, x + 2y ≤ 20:

If x = 0, then y = 10 --> (0, 10)
If y = 0, then x = 20 --> (20, 0)
x + 2y = 20 x = 10 y = 8

The region bounded by these lines and the non-negativity constraints is called the feasible region. Calculate the intersections where these lines meet.

Step 3: Identifying the feasible area

The feasible region is the overlapping region that satisfies all the constraints. This region is usually a polygon or an unbounded region. The feasible region can be identified as follows:

  • Check where the restriction lines intersect to form vertices.
  • Evaluate the nonnegativity conditions x ≥ 0 and y ≥ 0.

List the heads:

Top:
A(0, 0), 
B(0, 8), 
C(6, 7), 
D(10, 5)

Step 4: Testing the vertex

Substitute each vertex into the objective function to determine which one provides the optimal value.

Objective function: z = 3x + 4y

For A(0,0):
z = 3(0) + 4(0) = 0

For B(0,8):
z = 3(0) + 4(8) = 32

For C(6,7):
Z = 3(6) + 4(7) = 46

For D(10,5):
Z = 3(10) + 4(5) = 50

Identify the maximum (or minimum) value based on the objective function. In this case, D(10,5) provides the maximum value.

Step 5: Conclude the optimal solution

The optimal solution to the linear programming problem is the vertex that gives the optimal value of the objective function 50 at the point D(10, 5).

More examples

Let's explore another linear programming problem to reinforce the graphical method:

Consider a manufacturer that makes two types of products. Suppose the objective is to maximize profit, which is defined by the function z = 40x + 30y, where x and y are the units of product A and B, respectively.

Subject to the following constraints:

1. 2x + y ≤ 25
2. 3x + 5y ≤ 45
3. x ≥ 0, y ≥ 0 (non-negativity)

Graphing the constraints

For condition 1, 2x + y ≤ 25:
If x = 0, then y = 25 --> (0, 25)
If y = 0, then x = 12.5 --> (12.5, 0)

Constraint 2, 3x + 5y ≤ 45:
If x = 0, then y = 9 --> (0, 9)
If y = 0, then x = 15 --> (15, 0)
2x + y = 25 3x + 5y = 45

By graphing the constraints, identify the intersection points:

Crossroad:
– Between 2x + y = 25 and non-negativity: (0, 0), (0, 9)
– Between 3x + 5y = 45 and 2x + y = 25: (5, 15)

Testing the vertex

Substitute these vertices into the objective function:

For (0,0):
z = 40(0) + 30(0) = 0

For (0,9):
Z = 40(0) + 30(9) = 270

For (5,15):
Z = 40(5) + 30(15) = 650

The solution point (5,15) results in the maximum profit.

Summary of concepts

The graphical method for solving linear programming problems in two variables is intuitive, providing visual representation and clarity in finding the optimal solution. The vertices of the feasible region are tested against the objective function to assess the possible maximum or minimum values. This straightforward, systematic approach affords decision making in resource management, cost minimization, and profit maximization.

In conclusion, while the graphical method caters to binary cases, it provides a foundational understanding for more advanced methods applicable to multidimensional, real-world linear programming scenarios.


Grade 12 → 4.1.2


U
username
0%
completed in Grade 12


Comments