Linear Programming: Asst. Prof. Antonette C. Torreda, Ed.D Ust-Amv College of Accountancy
1) Define the decision variables and objective function
2) Graph the constraints to determine the feasible region
3) Identify the extreme points and test which yields the maximum objective value
4) The optimal solution is 2 gowns and 3 cocktail dresses for a maximum profit of P6,000
Linear Programming: Asst. Prof. Antonette C. Torreda, Ed.D Ust-Amv College of Accountancy
1) Define the decision variables and objective function
2) Graph the constraints to determine the feasible region
3) Identify the extreme points and test which yields the maximum objective value
4) The optimal solution is 2 gowns and 3 cocktail dresses for a maximum profit of P6,000
Methods of solving simple Linear Programming: Graphic Method or Geometric Method Simplex Method or Tabular Method Programming uses steps or procedures in order to come up with a correct decision or best answers in a programming problem. • What must be the maximum income x in order to belong to the upper 50% of the group? • What must be the maximum volume of a box that is to be made from a piece of cardboard? • How many number of students must be enrolled in a class in order the section will not be dissolved? • What is the shortest distance a delivery boy should travel in order to come on time? LINEAR PROGRAMMING: GRAPHICAL METHOD Terminologies: Linear • Refers to the relationship involving two or more variables which show first-degree mathematical statement. • The graph of a linear equation is a straight line. • The graph of inequality is a half-plane. Programming • Refers to the use of certain mathematical techniques or algorithms to obtain best possible solution or the optimal solution. Linear Programming • is a branch of applied mathematics, which is a mathematical technique that involves maximizing and minimizing a linear function subject to given linear constraints. • is a method of dealing with decision problems that can be expressed as constrained linear models. • is a mathematical technique for finding the best uses of an organization’s resources. Inequality • is a mathematical statement describing that one expression or quantity is not of equal value with another expression or quantity.
Graphical Solution Method
• is a two-dimensional geometric analysis of Linear Programming problems with two decision variables, x and y. Decision Variables • Are variables that correspond to the decision that must be made in order to identify a solution to the problem.
x be the number of bottles of softdrinks
x be the number of alcoholic beverages
z be the number of desk top
w be the number of laptops x be the tablets Characteristics of Linear Programming Problem: 1. Objective Function • is an expression, which shows the relationship between the variables in the problem and the firm’s goal. • is a mathematical statement reflecting the objective of the operation(problem). • The objective of the decision maker must be to maximize or minimize. • Maximization problem involves profit, market share, revenue, sales, production, etc. • Minimization involves cost, distance, time, worker, etc. 2. Constraints • are referred to the availability of resources like labor time, machine time, raw materials, work or storage space, etc. • There are two kinds of constraints: 1. Structural Constraint also called explicit constraints are the conditions stated in the problem. is a limit on the availability of resources. 2. Non-negativity constraint also called implicit constraints. States that the variables are always greater than or equal to zero such as the number of units produced, number of hours, area, distance, volume, etc. Example: A construction firm got a new project from the DPWH to provide them maximum number of concrete barriers and drainage lid for a period of one week. The firm has 980 units of steel slabs available while there are 500 units of cement mixture available. A concrete barrier needs 3 units of steel slabs and 2 units of cement mixture while a drainage lid needs 2 units of steel slabs and 1 unit of cement mixture. If the firm set P2000.00 per concrete barrier and P1000.00 per drainage lid, what is the maximum income that the firm will collect from the DPWH after the project? Example: A construction firm got a new project from the DPWH to provide them maximum number concrete barriers and drainage lid for a period of one week. The firm has 980 units of steel slabs available while there are 500 units of cement mixture available. A concrete barrier needs 3 units of steel slabs and 2 units of cement while a drainage lid needs 2 units of steel slabs and 1 unit of cement mixture. If the firm set P2000.00 per concrete barriers and P1000.00 per drainage lid, what is the maximum income that the firm will collect from the DPWH after the project? Let x = number of concrete barriers y = number of drainage lid Objective Function: P = 2000X + 1000Y Constraints: Available 3X + 2Y ≤ 980 X Y Resources 2X + Y ≤ 500 Steel slabs 3 2 980 X ≥ 0, Y ≥ 0 Cement 2 1 500 mixture Price per unit 2000 1000 Non negativity constraints: x1, x2, x3, …xn ≥ 0
Non negativity constraints:
x1, x2, x3, …xn ≥ 0 Words or expressions to denote ≤ are: “no more than”, “available”, “at most”, “limited to”, etc. For ≥ : “at least”, “more than”, “exceed”, ”minimum”, etc. Feasible Region • is the set of combination of values for the decision variables that satisfy the non- negativity conditions and all the constraints simultaneously, that is, the allowable decisions. • The common intersection of the graphical solutions of the problem constraints. • The solution may be a plane figure or a segment and the corner/end points of this figure can be determined. The feasible region may be bounded or unbounded: • Bounded if the region is a closed plane figure. • Unbounded if the region is an open plane figure. Infeasible • An LPP has an infeasible solution if the solutions of the problem constraints do not intersect, that is, no feasible solution is formed. • There is no common region that satisfies the given constraints. Extreme Point • is the corner of the feasible region. • if a Linear Programming problem has a solution, there is always at least one extreme point solution. Optimal Solution • is a combination of decision variable amounts that yields the best possible value of the objective function and satisfies all the constraints. • there may be multiple combinations of decision variables that yield the same best value of the objective function. Multiple solution Steps of Linear Programming using the Graphical Method: 1. Determine the decision variables in the problem, and then represent them using variable letters. 2. Form the LP model. a) Objective function b) The structural constraints 3. Graph the problem constraints and determine the feasible region. 4. Find the extreme/corner points of the feasible region. One or more of the extreme/corner point of the feasible region is the solution of the problem, which is the optimal solution of the problem (or the optimal extreme/corner point). 5. Test each extreme/corner point of the feasible region to see which yields the maximum or minimum amount of the objective function. Maximization Problem Illustration 1. A couturier has the following materials available: 18 square meter sateen, 20 square meter Lace, and 5 square meter chiffon. A gown requires the following: 3 square meter sateen, 2 square meter lace, and 1 square meter chiffon. A cocktail dress requires the following: 2 square meter sateen, and 4 square meter lace. If a gown sells for P1,200 and a cocktail dress sells P1,600, how many of each garments should the couturier make to obtain the maximum amount of money? Let x = be the number of gowns y = be the number of cocktail dress x gowns y cocktail dresses Resources Sateen 3 2 18 Lace 2 4 20 Chiffon 1 5 cost P1200 P1600