Review the key concepts, formulae, and examples before starting your quiz.
🔑Concepts
Linear Programming Problem (LPP) is a mathematical technique used to find the optimal value (maximum or minimum) of a linear function, known as the objective function, subject to various linear constraints. It is widely used in resource allocation, production planning, and transport logistics.
Decision Variables are the unknown quantities that we need to determine to solve the problem, usually denoted as and . These variables represent the quantities of products to be produced or resources to be used, and they are the coordinates plotted on the -axis and -axis of a 2D graph.
The Objective Function is a linear mathematical expression, typically denoted as , which represents the quantity we want to maximize (like profit) or minimize (like cost). Visually, this function can be imagined as a series of parallel 'iso-profit' or 'iso-cost' lines moving across the feasible region.
Constraints are a set of linear inequalities or equations that limit the values of the decision variables, such as . On a graph, each constraint is represented by a straight line, and the inequality determines which side of the line (a half-plane) contains the valid points. For example, is a vertical line where the valid region is to the left.
Non-negativity Restrictions are constraints that ensure the decision variables are always zero or positive (). Geometrically, these restrictions confine the problem to the first quadrant of the Cartesian plane, meaning we only look at the upper-right section of the graph.
The Feasible Region is the common area on a graph where all the given constraints, including non-negativity restrictions, are satisfied simultaneously. It usually appears as a shaded convex polygon. If the region is enclosed on all sides, it is called a 'Bounded Feasible Region'; if it extends infinitely in one direction, it is 'Unbounded'.
Feasible Solutions are any points that lie within or on the boundary of the feasible region. An Optimal Solution is the specific feasible solution (a point in the shaded region) that gives the maximum or minimum value for the objective function .
The Corner Point Method states that if an optimal solution exists, it must occur at one of the vertices (corners) of the feasible region. Visually, you identify the 'corners' where constraint lines intersect and test each of these coordinates in the objective function to find the best result.
📐Formulae
Objective Function:
General Linear Constraints: or
Non-negativity Constraints:
General Form of LPP: Maximize/Minimize , subject to
💡Examples
Problem 1:
A furniture manufacturer makes two types of products: chairs and tables. Processing a chair requires 2 hours on Machine A and 6 hours on Machine B. Processing a table requires 4 hours on Machine A and 2 hours on Machine B. Machine A is available for at most 16 hours, and Machine B for at most 30 hours. The profit on a chair is 150. Formulate this as a Linear Programming Problem to maximize profit.
Solution:
- Define Decision Variables: Let be the number of chairs and be the number of tables produced.
- Objective Function: We want to maximize the total profit . Since profit per chair is 150, the function is: Maximize
- Constraints:
- Machine A constraint: (hours used cannot exceed 16)
- Machine B constraint: (hours used cannot exceed 30)
- Non-negativity constraints: (cannot produce negative furniture)
- Final Formulation: Maximize subject to:
Explanation:
The problem is a maximization type. We first identified the variables representing the items to be produced. Then, we created the objective function based on unit profit. Finally, we translated the resource limits (machine hours) into linear inequalities.
Problem 2:
A diet is to contain at least 20 units of Vitamin A and at least 15 units of Vitamin B. Two foods, and , are available. contains 5 units of Vitamin A and 1 unit of Vitamin B per gram. contains 2 units of Vitamin A and 3 units of Vitamin B per gram. The cost of is F_28 per gram. Formulate the LPP to minimize the cost of the diet.
Solution:
- Define Decision Variables: Let be the quantity of food in grams and be the quantity of food in grams.
- Objective Function: We want to minimize the total cost . Minimize
- Constraints:
- Vitamin A requirement: (must have at least 20 units)
- Vitamin B requirement: (must have at least 15 units)
- Non-negativity:
- Final Formulation: Minimize subject to:
Explanation:
This is a minimization problem concerning cost and nutritional requirements. Because the problem states 'at least', the inequality signs are . The variables represent the weights of food items.