![]() |
Linear programming is a mathematical technique for optimizing operations under a given set of constraints. The basic goal of linear programming is to maximize or minimize the total numerical value. It is regarded as one of the most essential strategies for determining optimum resource utilization. Linear programming challenges include a variety of problems involving cost minimization and profit maximization, among others. They will be briefly discussed in this article. The purpose of this article is to provide students with a comprehensive understanding of the different types of linear programming problems and their solutions. What is Linear Programming?
Components of Linear ProgrammingComponents of linear programming include:
Linear programming provides a systematic and efficient approach to decision-making in situations where resources are limited and objectives need to be optimized. Different Types of Linear Programming ProblemsThe following are the types of linear programming problems:
Let’s discuss more about each of them. Manufacturing ProblemsIn these problems, we evaluate the number of units of various items that should be produced and sold by a company when each product requires a given number of workforce, machine hours, labour hours per unit of product, warehouse space per unit of output, and so on, to maximize profit. Manufacturing problems involve maximizing the production rate or net profits of manufactured products, which might measure the available workspace, the number of workers, machine hours, packing materials used, raw materials required, the product’s market value, and other factors. These are commonly used in the industrial sector to anticipate a company’s future capital increase over time. Diet ProblemsIn these challenges, we assess how many components or nutrients a diet should contain in order to lower the cost of the desired diet while guaranteeing the minimal amount of each vitamin. As the name suggests, diet-related problems can be resolved by eating more particular foods that are rich in essential nutrients and can support the adoption of a particular diet plan. Finding a set of meals that will satisfy a set of daily nutritional demands for the least amount of money is the aim of a diet problem. Transportation ProblemsIn these problems, we create a transportation schedule to discover the most cost-effective method of carrying a product from various plants/factories to various markets. The study of transportation routes or how items from diverse production sources are transported to various markets to minimize the total transportation cost is linked to transportation difficulties. Analyzing such challenges is crucial for large firms with several production units and a broad customer base. Optimal Assignment ProblemsThis problem addresses a company’s completion of a given task/assignment by selecting a specific number of employees to complete the assignment within the required timeframe, assuming that each person works on only one job. Event planning and management in major organizations, for example, are examples of such problems. Constraints and Objective Function of Each Linear Programming Problem
Steps for Solving Linear Programming ProblemsStep 1: Identify the decision variables: The first step is to determine which choice factors control the behaviour of the objective function. A function that needs to be optimised is an objective function. Determine the decision variables and designate them with X, Y, and Z symbols. Step 2: Form an objective function: Using the decision variables, write out an algebraic expression that displays the quantity we aim to maximize. Step 3: Identify the constraints: Choose and write the given linear inequalities from the data. Step 4: Draw the graph for the given data: Construct the graph by using constraints for solving the linear programming problem. Step 5: Draw the feasible region: Every constraint on the problem is satisfied by this portion of the graph. Anywhere in the feasible zone is a viable solution for the objective function. Step 6: Choosing the optimal point: Choose the point for which the given function has maximum or minimum values. Solved Problems of Linear Programming ProblemsQuestion 1. A factory manufactures two types of gadgets, regular and premium. Each gadget requires the use of two operations, assembly and finishing, and there are at most 12 hours available for each operation. A regular gadget requires 1 hour of assembly and 2 hours of finishing, while a premium gadget needs 2 hours of assembly and 1 hour of finishing. Due to other restrictions, the company can make at most 7 gadgets a day. If a profit of $20 is realized for each regular gadget and $30 for a premium gadget, how many of each should be manufactured to maximize profit? Solution: We define our unknowns: Let the number of regular gadgets manufactured each day = x and the number of premium gadgets manufactured each day = y The objective function is
We now write the constraints. The fourth sentence states that the company can make at most 7 gadgets a day. This translates as
Since the regular gadget requires one hour of assembly and the premium gadget requires two hours of assembly, and there are at most 12 hours available for this operation, we get
Similarly, the regular gadget requires two hours of finishing and the premium gadget one hour. Again, there are at most 12 hours available for finishing. This gives us the following constraint.
The fact that x and y can never be negative is represented by the following two constraints:
We have formulated the problem as follows : Maximize P=20x + 30y Subject to : x + y ≤ 7, x + 2y ≤ 122, x + y ≤ 12, x ≥ 0, y ≥ 0 In order to solve the problem, we next graph the constraints and feasible region. Again, we have shaded the feasible region, where all constraints are satisfied. Since the extreme value of the objective function always takes place at the vertices of the feasible region, we identify all the critical points. They are listed as (0, 0), (0, 6), (2, 5), (5, 2), and (6, 0). To maximize profit, we will substitute these points in the objective function to see which point gives us the maximum profit each day. The results are listed below. FAQ on Linear programmingHow many methods are there in LPP?
What are the four 4 special cases in linear programming?
What are the 3 components of linear programming?
What are the applications of LPP?
What are the limitations of LPP?
|
Reffered: https://www.geeksforgeeks.org
Class 12 |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 16 |