Operations Research I: Optimization Techniques
Operations Research I: Optimization Techniques
Consultation Material
Operational Research I
Made by:
Ing. Efraín Rafael Murillo Quispe
AREQUIPA–PERU
2019
Operations Research I 2
Introduction
Optimization, - in Engineering -, is synonymous with reduction of
costs, times, and other resources; therefore it is also
greater productivity, improvement in the quality of goods and
services; and in this way increase the competitive level of
the company.
The Optimization Techniques is based on the
Operations Research, Statistics, and Computer Science,
mainly.
This set of tools will allow management to have
a good support, for better decision making.
Many projects become very attractive after a
reengineering of its processes, fundamentally due to the–
optimization of its operations.
Finalmente, no debemos perder el foco principal de la
application of these techniques: -total satisfaction of the
client-, emphasizing that the modern organization has
focusing all your efforts on the customer.
1. Professional Profile
The Teacher presents the following professional profile:
Industrial Engineer with a second specialty in Systems Engineering from the University
National University of San Agustin, Master in Industrial Engineering with a specialization in Management
Production of the National University of San Agustín in collaboration with the University
Federal University of Santa Catarina in Brazil. Doctorate in Production Engineering from the University
National University of San Agustín in agreement with the Federal University of Santa Catarina in Brazil.
Specialized consultant in the development of Optimization Projects through the use of
mathematical modeling and simulation. Teacher at the National University of San Agustín and
from the Catholic University of Santa María in Industrial Engineering. General Coordinator of the
Second Specialization in Systems Engineering from the Faculty of Production Engineering
and Services of the UNSA. Responsible for the promotion for the creation of the Center of
Investigación en Modelación y Simulación en la UNSA y en la UCSM. Ponente en congresos
national and international. Professional experience in optimization in companies
Centromin-Peru and Southern Peru Brewery Co.
Email:emurillo@[Link]
efrainmurillo@[Link]
Website:[Link]
THESIS:
FEASIBILITY STUDY FOR THE INDUSTRIALIZATION OF COCHINEAL. Thesis to obtain
the Title of Industrial Engineer. Arequipa 1994.
BINARY PROGRAMMING MODEL TO OPTIMIZE PROGRAMMING OF
BUSES ON A PASSENGER URBAN TRANSPORT ROUTE IN AREQUIPA, Thesis
to obtain the Master's degree in Industrial Engineering. Arequipa 2005.
DECISION SUPPORT SYSTEM BASED ON MATHEMATICAL MODELING FOR
THE OPTIMIZATION OF VEHICLE REPLACEMENT POLICIES IN COMPANIES OF
URBAN PASSENGER TRANSPORT OF AREQUIPA, Thesis to obtain the Title of Second
Specialty in Systems Engineering. Arequipa 2016.
SOLID WASTE MANAGEMENT MODEL BASED ON BINARY PROGRAMMING AND
SIMULATION TO REDUCE LEAD TIME, CASE: MUNICIPALITY OF JOSÉ LUIS
BUSTAMANTE AND RIVERO, Thesis to obtain the Degree of Doctor in Production Engineering.
Source:[Link]-operaciones.com2009
Index
Page
1. Formulation of linear programming problems 6
[Link] programming: Graphic approach 20
[Link] analysis: Graphical approach 46
[Link] analysis: Computer solution 56
[Link] analysis 69
[Link] Method 75
7. Case Study 80
8. Problem bank 87
1 Formulation of Problems of
Linear Programming
. Taken from ACCOUNTS, Mario. Operations Research, Peru: UNA Editorial Group,
2009.
TABLE 1.1 Ingredients used in the production of Airtex, Extender and Resistex
INGREDIENTS (oz/lb of products)
POLYMER A POLYMER B POLYMER C BASE
Airtex 4 2 4 6
Extender 3 2 2 9
Resistex 6 3 5 2
ABC is committed to producing at least 1000 pounds of Airtex, 500 pounds of Extendex, and 400 pounds of
Resitex for next week, but the company management knows that it can sell more of each one of the
products.
The current inventories of the ingredients are 5600 pounds of polymer A, 425 pounds of polymer B, 650 pounds
of polymer C and 1100 pounds of the base. Each pound of Airtex generates a profit of $7 for the company, each
A pound of Extendex has a profit of $7 and each pound of Resistex has a profit of $6. As the manager of
production department, you need to determine an optimal production plan for this week.
1.1.1 Identification of the decision variables
Following the steps of problem formulation, first identify the decision variables. Ask yourself what
what can be controlled and the information that constitutes a production plan, this should lead to identifying the
following variables:
A = the number of pounds of Airtex to be produced this week
E = the number of pounds of Extender produced this week
R = the number of pounds of Resistex to produce this week
1.1.2 Identification of the objective function
For ABC, the logical objective is to determine how much of each product to produce to maximize total profit.
By applying the decomposition technique, one arrives at:
Ganancia total = ganancia de Airtex + ganancia de Extender + ganancia de Resistex
Since each pound of Airtex produces a profit of $7, A pounds of Airtex produce $7A. Similarly,
Extender and Resistex contribute $7E and $6R, respectively, to the total profit. In terms of the
decision variables and profit data, the objective function is
Maximize 7A + 7E + 6R
1.1.3 Identification of the restrictions
Applying the clustering technique should lead you to identify the following three groups of constraints:
1. Resource restrictions to ensure that no more than the three polymers and the base that are used.
available.
2. Demand restrictions to ensure that the company's commitments are met.
3. Logical restrictions to specify that all production quantities are non-negative.
RESOURCE RESTRICTIONS
This group consists of four constraints: one for each of the three polymers and one for the base. For the
limited availability of 500 pounds of polymer A:
Amount used of polymer A 500 pounds
The use of decomposition leads to:
Amount of polymer A used = (amount used to produce A pounds of Airtex) +
(amount used to produce E pounds of Extender) +
(amount used to produce R pounds of Resistex)
To determine the amount of polymer A used in the manufacturing of each product, work with an example.
specific. For example, set A = 100, E = 300 and R = 200. According to the data in table 1.1:
Amount of polymer A used in Airtex = 4(100) = 400
Amount of polymer A used in Extender = 3(300) = 900
Amount of polymer A used in Resistex = 6(200) = 1200
So, in terms of the decision variables, one could think that the appropriate constraint for polymer A
es:
4A + 3E + 6R 500
Sin embargo, esta restricciónnoes correcta. La razón es que lasunidadesen la expresión de la izquierda están
weights (see table 1.1), but the units on the right are in pounds. This discrepancy can be corrected.
converting units from one side to the other. For example, when converting 500 pounds
available from polymer A to 8000 ounces (1 pound is equal to 16 ounces) the following restriction is obtained:
4A + 3E + 6R 8,000 (polymer A)
Following a similar logic for the three remaining resource outcomes in these constraints:
2A + 2E + 3R 6,800 (polymer B
4A + 2E + 5R 10 400 (polymer C)
6A + 9E + 2R 17,600 (base)
DEMAND RESTRICTIONS
This group consists of three constraints: one for the minimum requirement on the quantity of each of the
three products. These restrictions are:
A 1 000 (Airtex)
E 500 (Extender)
R 400 (Resistex)
LOGICAL RESTRICTIONS
Since all production quantities must be non-negative, the following restrictions are needed.
logics:
A, E, R 0
1.1.4 Complete formulation and solution of the ABC product mix problem.
As the production department manager, you put all the pieces together, resulting in the following model.
mathematical formulation of the linear programming problem of ABC:
Maximize 7A + 7E + 6R
Depending on
RESOURCE RESTRICTIONS
4A + 3E + 6R 8,000 (polymer A)
2A + 2E + 3R 6,800 (polymer B
4A + 2E + 5R 10 400 (polymer C)
6A + 9E + 2R 17,600 (base)
DEMAND RESTRICTIONS
A 1 000 (Airtex)
E 500 (Extender)
R 400 (Resistex)
LOGICAL RESTRICTIONS
A, E, R 0
The optimal solution to this problem, calculated using any linear programming software package is
A = 1,000.00
E = 533.33
R = 400.00
With an objective function value of 13,133.33. In other words, the optimal weekly plan is to produce 1000 pounds.
from Airtex, 533.33 pounds of Extender and 400 pounds of Resistex, resulting in a net profit of
$13133.33. You may want to verify this solution with your own linear programming software.
TABLE 1.2 Data for the make or buy problem of Aceros Arequipa
PRICE TIME OF MATERIAL COST OF COST OF
DEMAND
FOR SALE MACHINE FOR WELDING PRODUCTION BUY
(feet)
($/pie) (min/pie) (onz/pie) ($/pie) ($/pie)
A 10 2,000 0.50 1 3 6
B 1 4,000 0.45 1 4 6
C 9 5,000 0.60 1 4 7
Available quantity 40 hrs. 5,500 ounces
Producing these tubes requires two resources: machine time and welding material. Since these resources are
limited require two restrictions to ensure that the available supplies are not exceeded. The
the available time restriction is:
Machine time should not exceed 40 hours.
The application of decomposition leads to:
Total machine time used = (machine time used to produce type A tube) +
(machine time used to produce type B tube) +
(machine time used to produce type C tube)
Remember from table 1.2 that each foot of tube A requires 0.5 minutes of machine time. Therefore, for
To produce AP feet, 0.5 AP minutes is required. Likewise, each foot of tube B requires 0.5 minutes and each
Pipe fitting C takes 0.6 minutes. The constraint is:
0.5AP + 0.45BP + 0.6CP 40
However, note that the amount on the left side is expressed in minutes, while that on the right is
express in hours. One way to correct this inconsistency is to convert 40 hours into 40 * 60 = 2400 minutes:
0.5AP + 0.45BP + 0.6CP 2400 (machine time)
Returning to the availability of welding material, the associated restriction is:
The total welding material must not exceed 5500 ounces.
Applying decomposition and remembering that every foot of pipe, regardless of type, requires 1 ounce of material.
for welding, this resource restriction is:
AP + BP + CP 5500 (soldering material)
DEMAND RESTRICTIONS
This group is made up of three constraints, one for the demand associated with each type of pipe. For the
Pipe A:
Total number of feet of type A pipe = 2000 feet
Applying decomposition:
Total number of feet (number of type A feet produced) +
of type A tube (number of type A feet purchased from Japan)
=AP+AJ
Consequently, the demand constraint for type A tube is:
AP + AJ = 2000 (demand of type A)
A similar logic results in the following demand constraints for pipes of type B and C:
BP + BJ = 4000 (demand of type B)
CP + CJ = 5000 (demand of type C)
LOGICAL RESTRICTIONS
The only logical restriction in this problem is that all variables must be non-negative.
1.2.4 Complete formulation and solution of the manufacturing or purchasing problem of Aceros Arequipa
Once all the pieces are put together, it results in the following linear programming model for the
Aceros Arequipa problem:
maximize 7AP + 8BP + 5CP + 4AJ + 6BJ + 2CJ
Depending on
DEMAND RESTRICTIONS
AP +AJ = 2000 (demand of type A)
BP + BJ = 4000 (demand of type B)
CP + CJ = 5000 (demand of type C)
RESOURCE RESTRICTIONS
0.5AP + 0.45BP + 0.6CP 2400 (machine time)
AP+ BP + CP 5500 (soldering material)
LOGICAL RESTRICTIONS
AP, BP, CP, AJ, BJ, CJ 0
The optimal solution to this problem, obtained with a linear programming software package, is:
AP = 2 000.000
BP = 0.000
CP = 2 333.000
AJ= 0.000
BJ = 4 000.000
CJ = 2 666.667
With a net profit of $55,000. In other words, Aceros Arequipa should produce 2,000 feet of pipe.
type A and 2333.333 feet of type C pipe and import 4000 feet of type B pipe and 2666.667 feet of type C pipe from
Japan. You may want to verify this solution with your own linear programming software.
MANZ 1
LOGICAL RESTRICTIONS
The only logical restriction in this problem is that all variables are non-negative.
1.3.4 Complete formulation and solution of the diet problem of XYZ General Hospital
All this information results in the following linear programming model for the problem of
General Hospital XYZ:
Minimize
5000SPAG+ 5000PAVO+ 7900PAPA+ 300SPIN+ 14300MANZ
Depending on
NUTRIENT REQUIREMENT
5000 SPAG + 29300 PAVO + 5300 PAPA + 3000 SPIN + 4000 MANZ 63,000 (proteins)
1.1 SPAG + 1.8 PAVO + 0.5 PAPA + 2.2 SPIN + 1.2 MANZ 10 (iron)
1.4SPAG+ 5.4 PAVO+ 0.9 PAPA+ 0.5 SPIN+ 0.6 MANZ 15 (niacin)
0.18SPAG+ 0.06 PAVO+ 0.06 PAPA+ 0.07 SPIN+ 0.15 MANZ thiamine
10DAD+ 28 SPIN+ 3MANZ 50 (vitamin C)
LIMIT RESTRICTIONS
SPAG 3
PEACOCK 3
DAD 2
SPIN 1
MANZ 1
LOGICAL RESTRICTIONS
["SPAG","PAVO","PAPA","SPIN","MANZ"] 0
The optimal solution to this problem, obtained with a linear programming software package, is:
SPAG = 3.000
PAVO = 2.833
PAPA = 2 000
SPIN = 1.000
MANZ = 0.667
With a fat content of 54,800 milligrams. In other words, the food should consist of 300 grams.
of spaghetti, 283.3 grams of turkey, 200 grams of potatoes, 100 grams of spinach, and 66.7 grams of cake
apple. You may want to verify this solution with your own linear programming software.
EXAMPLE 1.4 THE INVESTMENT PROBLEM OF AFP JR. To the portfolio manager of AFP JR, he has
request to invest $1,000,000 from a large pension fund. The research department of Investments has
six mutual funds with variable investment strategies were identified, resulting in different returns
potential and associated risks, as summarized in table 1.4.
TABLE 1.4. Risk and expected rate of return of six investment funds
FUND
1 2 3 4 5 6
Asset ($/share) 45 76 110 17 23 22
Expected return (%) 30 20 15 12 10 7
Risk category ["High","High","High","Medium","Medium","Low"]
One way to control risk is to limit the amount of money invested in various funds. For that purpose, the
AFP JR management has specified the following guidelines:
The total amount invested in high-risk funds should be between 50 and 75% of the portfolio.
2. The total amount invested in medium-risk funds should be between 20 and 30% of the portfolio.
3. The total amount invested in low-risk funds must be at least 5% of the portfolio.
A second way to control risk is to diversify, that is, to spread the risk by investing in many
different alternatives. The management of AFP JR has specified that the amount invested in high funds
risk 1, 2 and 3 must be at the rate of [Link] respectively. The amount invested in the medium funds
Risk 4 and 5 must be 1:2.
With these guidelines, which portfolio should you, as a portfolio manager, recommend to maximize the expected rate of return?
return?
1.3.3 Identification of the decision variables
In this problem, you control how much to invest in each of the six mutual funds, thereby creating six.
decision variables. As always, you must specify the units associated with each variable. For example,
For fund 1, I could define any of the following variables:
F1the number of shares of the fund 1 to buy
F1the number of dollars to invest in fund 1
F1the fraction of the agenda for investing in fund 1
Each option leads to a different but equivalent mathematical model. Here, the last option is used. So
for each of the remaining funds, define:
F2the fraction of the portfolio to invest in fund 2
F3the fraction of the portfolio to invest in fund 3
F4the fraction of the portfolio to invest in fund 4
F5the fraction of the portfolio to invest in fund 5
F6the fraction of the portfolio to invest in fund 6
1.4.2 Identification of the objective function.
As stated in the problem description, the overall objective is to maximize the expected rate of
performance, that is,
Expected rate of return amount invested = total expected return
If we apply decomposition to the numerator, we obtain
Expected total return = (expected return of fund 1) +
(expected return of fund 2) +
(expected return of fund 3) +
(expected return of the fund 4) +
(expected return of the fund 5) +
(expected return of the fund 6)
To determine the expected return of fund 1, work with a specific example in which 10% of the
the portfolio is invested in fund 1, that is, F1= 0.10. In this case, 0.10 * 1,000,000 = $100,000 from the portfolio is
invest in fund 1. According to the data in table 1.4, this money is expected to return 30% or
0.30*1000000 = $30,000. Therefore, in terms of F1,
Rendimiento esperado del fondo 1 = (amount invested in fund 1) *
fund 1 yield rate
= (F1300000
= 300,000 F1
Using a similar logic for the remaining five funds, we arrive at
Expected total return 300,000 F1+ 200,000 F2+ 150,000 F3+
120 000 F4+ 100 000 F5+ 70 000 F6
Dividing this by the total investment of $1,000,000 we obtain the rate of return and therefore the following
objective function:
Maximize 0.30 F1+ 0.2 F2+ 0.15 F3+ 0.12 F4+ 0.10 F5+ 0.07 F6
1.4.3 Identification of the restrictions
By applying the clustering technique, you should be able to identify the following three groups of constraints:
1. Investment limitations to control the amount invested in each of the three categories of
risk.
2. Diversification restrictions to extend investment within each risk category.
3. Logical restrictions.
INVESTMENT RESTRICTIONS
This group consists of three subgroups of restrictions, one for each risk category, namely:
The total amount invested in high-risk funds should be between 50 and 75% of the portfolio. 1, F2
y F3they represent the fraction of the portfolio to be invested in high-risk funds, the fraction of the portfolio
total investment in high-risk funds is F1+ F2+ F3These restrictions are:
F1+ F2+ F3 0.50 (minimum at high risk)
F1+ F2+ F3 0.75 (maximum at high risk)
2. The total amount invested in medium-risk funds should be between 20 and 30% of the portfolio.
F4y F5represent the fraction of the portfolio to be invested in medium-risk funds, the fraction of the
the total portfolio invested in medium risk funds is F4+ F5These restrictions are:
F4+ F5 0.20 (minimum in medium risk)
F4+ F5 0.30 (maximum in medium risk)
3. The total amount invested in low-risk funds must be at least 5% of the portfolio. As F 6it is the
fraction of the portfolio invested in low-risk funds, this restriction is:
F6 0.05 (minimum in low risk)
DIVERSIFICATION RESTRICTIONS
This group of restrictions is used to control risk by ensuring that the amount invested in the funds
belonging to a given risk category falls within the specified rate, in the following manner:
The amount invested in high-risk funds 1, 2, and 3 must be in the ratio [Link]. This restriction
specify that the amount invested in fund 2 is double the amount invested in fund 1:
F2= 2F1
If we change the order so that all the variables are on the right, we obtain:
-2F1+ F2= 0 (proportion of F1a F2)
Similarly, the amount invested in fund 3 must be three times the amount invested in fund 1:
F3= 3F1
-3F1+ F3= 0 (proportion of F1a F3)
The amount invested in medium-risk funds 4 and 5 must be in the proportion of 1:2, that is,
the amount invested in fund 5 must be double that of fund 4:
F5= 2F4
If we change the order so that all the variables are on the right, we obtain:
likely, the current model remains unchanged. It simply needs to multiply the fractions obtained in the
previous solution due to the new size of the portfolio to determine the new amounts to invest in each one
of the six funds.
1.-A furniture production company has two different types of wood; it has 1500 board feet of
type A and 1000 of type B (type B wood is imported), also has 800 man-hours available to carry out the
work. The estimated weekly demand is as follows: at least 40 tables, 130 chairs, 30 desks.
and no more than 10 bookshelves. The quantities of wood A and B, the man-hours required for the making of each
unit of article and the unit utilities are indicated in the following table:
Wood Hours Demand Utilities
Article A B Dear Man per unit
Table 5 2 3 no less than 40 $ 12
Chair 1 3 2 no less than 130 5
Desk 9 4 5 no less than 30 15
Bookshelf 12 1 10 no more than 10 10
Weekly availability 1500 1000 800
Formulate a Linear Programming Mathematical Model to determine how much should be produced weekly.
the company of each item, so that the profits are maximized?
2.-A company produces three types of products: A, B, and C. The man-hours required are H1 and H2 in the
departments 1 and 2 respectively for product A. One unit of B requires H3 and H1 hours in the
departments 2 and 3 respectively and a product C requires H3, H2, and H1 hours in departments 1, 2 and
3 respectively. The hourly wage is 'J' in any department. It is desired to manufacture up to a maximum of
FT units for the three products; a maximum of F1 units between products A and B and a minimum of F2
units of C. If products A, B, and C are sold at V1, V2, and V3 per unit respectively and the
Availability of hours are HA, HB and HC for departments 1, 2 and 3 respectively. Formulate a model.
Linear Programming for this problem.
3.- Three classifications of workers (w1, w2, and w3) can be used in three different jobs (j1, j2, and j3), according to
a salary scale. Each worker has a different cost (in $) for each job, which appears in the table
next:
Jobs Workers
Worker j1 j2 j3 available
w1 4.0 4.0 4.6 10
w2 3.6 3.5 4.4 15
w3 3.7 4.4 4.6 10
Workers
required 5 20 10
Formulate a Mathematical Model to determine the optimal assignment of workers to various jobs.
in order to minimize the cost.
XYZ has three power generation plants that supply the energy required to four
cities. Each plant can supply the following amounts of kilowatt-hours (kwh) of electrical energy: the
Plant 1, 35 million; plant 2, 50 million; plant 3, 40 million. The maximum energy demands in
these cities, which are presented at the same time (2 p.m.), are the following (in kwh): city 1, 40
millions; city 2, 20 million; city 3, 30 million; city 4, 30 million. The costs to send 1
million kWh of energy from a plant to a city depends on the distance the energy has to travel (see
Table 1). Formulate a Linear Programming model that allows determining the supply plan that minimizes
the cost to meet the maximum energy demand of each city.
Table 1
TOWARDS
Ciudad 1 Ciudad 2 Ciudad 3 Ciudad 4
FROM ($) ($) ($) ($)
Plant 1 8 6 10 9
Floor 2 9 12 13 7
Plant 3 14 9 16 5
5.- The Industrial Steel Company S.A. (IPASA) whose main plant is located in the city of Chincha (P1)
produce shock absorbers for trucks. IPASA also has production plants in Chimbote (P2) and in
Arequipa (P3).
TheproductsaresoldtofivewholesalersD1,D2,D3,D4,andD5atS/10perunit.
Sales projections indicate that next month the following quantities should be delivered:
a D1 13000
D2 3500
D3 4500
D4 10000
D5 8000
The maximum production capacities are:
P1 15000
P2 12000
P3 10000
The unit production cost at each plant is:
P1 $3
P2 $5
P3 $2
The unit transportation cost from each plant to each distributor is:
D1 D2 D3 D4 D5
P1 2 1 3 2 1
P2 3 2 4 1 1
P3 2 2 3 1 3
Formulate a Mathematical Model to determine the optimal production of each plant and the number of
shock absorbers that each plant must send to each distributor.
6.- The company XXX produces 2 items: car covers and awnings. For next week, it has the
followingsupplies:
400 man-hours
1200 meters2of linen
2700 meters2of canvas
600 machine hours
The selling price of car covers is 150 soles and of awnings is 500 soles.
If producing a car cover requires 1 man-hour, 6 meters2of linen and 1 machine hour, and to produce
a shelter requires 2 man-hours, 18 meters2of canvas and 1.5 hours-machine.
a) Define the decision variables of the problem.
b) Formulate the corresponding linear programming mathematical model.
c) Solve by the graphical method and determine the production plan that maximizes the revenue of the
Company. What is the maximum profit achieved?
7.-A farmer can produce tomatoes and lettuce. To produce one ton of tomatoes, he requires 0.15 hectares, 3
Kg of fertilizer and 30 days, and for one ton of lettuce requires 0.20 hectares, 2 kg of fertilizer and 32
sessions. Determine the optimal production schedule and the final situation of the inputs, if:
- 2 hectares of agricultural land are available, and
- 60 Kgs. of fertilizer.
- A budget of 25000 soles to pay wages.
In addition, the daily wage is 15 soles, a ton of tomatoes is sold for 900 soles, and a ton of lettuce for 1800 soles.
8.- A refinery produces 2 types of gasoline (1 and 2) from 2 types of crude oil (A and B); the prices of
sale, the raw material for producing gasoline, as well as the costs are:
Since real linear programming problems can be very large and complex, they are employed
computation methods to solve them. The algorithms of these methods are generally based on the technique
called the Simplex method, and are analyzed later. Managers are more interested in solutions than in
the mathematical aspects of the methods. The solutions to linear programming problems are
important because it allows seeing many details of the decision problem. Therefore, this section presents
some ideas on the algebraic and graphical solutions of linear programming and the useful concepts that them
managers can obtain from these solutions.
In most cases, it is not possible to graphically solve linear programming problems, due to our
inability to visualize more than three spatial dimensions. However, it is advisable to see how it can be
to solve a simple problem graphically, since larger dimension problems have solutions
similar.
Situation. A manufacturer is trying to decide on the production quantities for two items:
tables and chairs. There are 96 units of material and 72 hours of labor available. Each table requires 12
material units and 6 hours of labor. On the other hand, the chairs use 8 units of material each and
it requires 12 hours of labor per chair. The contribution margin is the same for tables as for
Chairs: $5 per unit. The manufacturer promised to build at least two tables.
Step 1: Problem Formulation:
What is the objective? It is to maximize the contribution to profit. Each unit of tables or chairs produced
will contribute $5 to the profit. Then the objective function can be written as:
Maximize: Z = 5X1+ 5X2
where X1produced tables
X2 = sillas producidas
What are the restrictions or limitations of the problem? There are three restrictions. First, the material is
limited to 96 units. Each table uses 12 units of material and each chair uses 8 units. The first
restriction is, then,
12X1+ 8X2≤96
The second constraint is the total labor hours. A table takes 6 hours, a chair 12 hours and
It has a total of 72 hours. Thus
6X1+12X2≤72
There is one more limitation. The manufacturer promised to produce at least two tables. This can be expressed
like: X1≥2. Finally, the non-negativity constraints are: X1≥O, X2≥O
Putting together the entire model, we have:
Maximize: Z = 5X1+ 5X2
Restrictions: 12X1+ 8X2≤96 ,
6X1+12X2≤72
X1>=2
X1≥0, X2greater than or equal to zero
Figure 2-1
Non-negativity restrictions
The following restriction is X1≥2. The simplest way to draw resource constraints is in two
pasos: (1) convertir una desigualdad en una ecuación y graficar la ecuación y (2) sombrear el área apropiada
above and below the line resulting from step 1. Turning an equality into an equation here means ignoring
the part of 'greater than' or 'less than' of the restriction.
Thus, in the example, X1 >=2, becomes X1 = 2. This equation is graphed in figure 2-2. Any point
on line X1= 2 satisfies the equation. However, the restriction is broader, since any point X12
it will also fulfill it. This includes all the points that are to the right of the line X1= 2. Then, the region
feasible includes all values of X1that are on the right wing of line X1= 2.
Figure 2-2
Restriction X1≥2
The limitation on labor hours is the following constraint. As before, it is first converted into
an equation: 6X1+12X2=72. This line can be graphed if two points on it are found. The pair of
The easiest points to locate are the intersections with the X axes.1y X2To find the intersection with
the X axis2it is done X1= 0. The equation then reduces to:
12X2= 72
X2= 6
As a result, the point (0,6) is obtained.
The intersection with the X axis1is doing X2= 0. Thus,
6X1= 72
X1= 12
As a result, the point (12,0) is obtained.
These two points and the line that connects them are shown in figure 2-3. Any point that is above or below
this line will comply with the restriction.
Figure 2-3
Labor restriction
To determine the feasible region (shaded area), the origin test (0,0) is performed, which is substituted in
the originating inequality:
6X1+12X2<= 72
6(0) + 12(0) = 0
0≤72, the answer is yes, which means that the origin is included in the shadow.
If the answer had been no, the shadow would have to be contrary to the
origen.
Any point above this line will require more than 72 hours of labor and is not acceptable. In the figure
This restriction is combined with the previous one. In the feasible region, both restrictions are satisfied.
The last restriction is that of material. Following the previous procedure, the first step is to find the
intersections for equality. These are X1= 0, X2= 12 and X1= 8, X2= 0. The two points are located in the
graph; the line is drawn, and since the constraint is of the less than or equal to type, the area below it is shaded.
the line. The result is shown in figure 2-5. Any solution that is on the border or within the area
darkened will comply with all restrictions. The objective function will now be used to select the
optimal solution.
Figure 2-4
The first two restrictions
Figure 2-5
All combined restrictions
Step 3: obtaining the optimal solution: trial and error
The trial and error method for finding the optimal solution takes advantage of a special property of the
PL problems. Consider figure 2-6 which shows the constraints of the problem. The extreme boundary of the
The feasible region is formed by the lines connecting the four points A, B, C, and D. The extreme boundary is of
special interest because:
At least one of the intersection points on the extreme boundary will be an optimal solution.
Figure 2-6
Extreme boundary of the feasible region
With this special property, the list of possible optimal solutions can be reduced to only four points: A,
B, C and D. The point among them that gives the highest value of the objective function will be the optimal solution.
So, the task is to find the coordinates of these four points, substitute the values into the objective function.
and select the point that gives the highest value of Z.
Regarding point A, it is known that its coordinates are (8,0). Point B is the intersection of two constraints.
If the two corresponding equations are solved simultaneously, the result will be the coordinates of their
intersection. This operation is then carried out.
Material constraint equation 12X1+ 8X2= 96
Labor constraint equation (2) 6X1+ 12X2= 72
Multiply equation (2) by 2 (3) 12X, + 24X, = 144
Subtract equation (1) from (3) (4) 16X2= 48
X2= 3
Substitute in the equation (1) 12X1+ 8(3) = 96
12X1= 72
X16
Point C is also the intersection of two constraint lines. Solving the equations again
simultaneous
Minimum production constraint equation (1) X1= 2
Labor constraint equation (2) 6X1+ 12X2= 72
Replace (1) in (2) 6(2) + 12X2= 72
12X2= 60
X2= 5
Point D has coordinates (2,0).
With the coordinates of each of the four points, one can now proceed to substitute each possible solution.
in the objective function. The calculation of Z for each of these points gives:
Point A, (8,0): Z = 5(8) + 5(0) = $40
Point B, (6,3): Z = 5(6) + 5(3) = $45
Point C, (2,5): Z = 5(2) + 5(5) = $35
Point D, (2,0): Z = 5(2) + 5(0) = $10
The highest value is $45, thus point B is optimal: to produce six tables and three chairs.
Obtaining the optimal solution: Indifference lines
There is another method to find the optimal solution by graphing the objective function on the same graph as the
restrictions. This method will be considered.
The objective function in this problem is Z = 5X1+ 5X2Since the maximum feasible value of is still unknown
Z cannot be optimized for the objective function. However, it is possible to assume some values for Z and
graph the resulting lines. Figure 2-7 shows the lines for Z = 25 and Z = 50. Lines of this type
They are called indifference lines because any point on a given line yields the same total gain. Note that
that the perpendicular distance from the origin to the line increases as the value of Z increases. Also, all the lines of
Indifference curves are parallel to each other. These graphical properties can be used to solve the problem.
Figure 2-8 illustrates all the constraints and the two assumed indifference curves. In the graph, it can be
it can be observed that the indifference line for Z = 50 is completely outside the feasible region. For Z = 25,
part of the line falls within the feasible region.
Figure 2-7
Lines of Indifference
Figure 2-8
Lines of constraints and indifference.
Therefore, there is some combination of X1y X2that satisfies all the constraints and yields a total profit of
$25. Upon inspection, it can be observed that there are higher profits that are feasible. Imagining that the line
from indifference Z = 25 moves towards the line Z = 50, of the properties of the graph that were noted
First, the optimal point will be on the indifference curve furthest from the origin but still touching the region.
feasible. This is shown in figure 2-9.
With the optimal point graphically located, the only task left is to find the coordinates of the point.
Note that the optimal point is at the intersection of the constraint lines for materials and labor hours.
work. It was previously found that the coordinates of this point are (6,3). The substitution of this point into the function
maximum profit objective:
Z 5(6) 5(3) $45
Figure 2-9
Location of the optimal point.
Summary of the graphic method
To graphically solve linear programming problems:
Express the data of the problem as an objective function and constraints.
2. Graph each constraint
3. Locate the optimal solution
a) By trial and error, or
b) With indifference lines
the difference is that now the lowest possible value is desired for the objective function. Suppose that one has the
next problem.
Diet problem
Un comprador está tratando de seleccionar la combinación más barata de dos alimentos, que debe cumplir con
certain daily vitamin needs. The vitamin requirements are at least 40 units of
vitamin W, 50 units of vitamin X and 49 units of vitamin Y. Each ounce of food A provides 4
units of vitamin W, 10 units of vitamin X, and 7 units of vitamin Y; each ounce of food B
provide 10 units of W, 5 units of X and 7 units of Y. Food A costs 5 cents/ounce and the
Food B costs 8 cents/ounce.
Step 1: problem formulation
La meta de este problema es encontrar la manera menos costosa para satisfacer las necesidades vitamínicas. Las
Two available alternatives are food A and B. Mathematically, the objective function is
Minimize: From 5A 8B
The restrictions are the minimum requirements of the three vitamins.
These are shown next:
Restrictions: 4A 10B 40 vitamin W
10A5B 50 vitamin X
7A 7B 49 vitamin Y
A 0,B no negativity
Step 2: graph of the constraints
The procedure for graphing is the same as was used before: (1) graph each constraint equation; (2)
graph the appropriate area. For the first restriction, the equation is 4A 10B 40 . Las dos intersecciones con
the axes are (0,4) y (10,0) This line is shown in figure 2-10. The constraint requires 40 units or more.
vitamin W. Any point that is above the constraint line will be feasible and all points that are
Those below this line will be unacceptable. Figure 2-11 shows the feasible region.
B
12
10
6
4A +10B = 40
(0, 4)
4
2
(10, 0)
0 2 4 6 8 10 12 A
FIGURE 2-10
Line for the equation 4A10B 40
Then the constraint for vitamin X is graphed. Equation 10A 5B 50 has intersections with the axes
in (0,10) y (5,0) Figure 2-12 illustrates the restrictions for vitamins W and X. Note that the
Solutions that remain in the areas are not feasible, as they would be below one of the lines.
restriction.
By adding the third constraint, this second step is completed, as shown in figure 2-13.
Figure 2-11
Restriction of vitamin W
Figure 2-12
Restrictions for vitamins W and X
Figure 2-13
All restrictions
PRACTICEEXERCISE2–3
Graphically solve the following problem:
Minimize: Z = 5X + 1.5Y
Restrictions: 2X + 5Y ≥ 10
5X + 2Y ≥ 1.5Y
X ≥ 0, Y ≥ 0
Example 2.3.2: To examine a type of exception, your sales manager informs you that he wants to sign a contract to
long term to supply 150,000 gallons of CS-01 each week. You are asked again to determine the plan for
optimal weekly manufacturing for IJK
The linear program is as follows: AN INFEASIBLE LINEAR PROGRAM
Maximize 3x 1+ 5x2
Depending on: 2 x1+ x2≤ 230 (1)
x1+ 2x2≤250 (2)
x 2≤120 (3)
x1 ≥ 0 (4)
x 2≥ 0 (5)
x1 >=150 (6)
The result of adding the new constraint (6) is illustrated in figure 2.16. As you can see, there are no values of x.1
y x2that satisfy the new constraint (6) and all previous constraints. This means that, with their
current resources, IJKnopuede cannot satisfy a contractual agreement to supply 150,000 gallons of CS-01 for
week. If the proposed contract is signed, IJK will need to obtain additional resources to increase the
production capabilities. The executive management will therefore have to make a strategic decision about the
value of this investment.
The linear program from example 2.3.2 was called an infeasible linear program, which means that no
the value of the variables satisfies all the constraints simultaneously, that is, there is no region
feasible. For such problems, it is recommended to reformulate them.
Perhaps the most common reason for a linear program to be infeasible is an error in one of the
[Link],itmayhavebeenaccidentallywrittensimultaneously
a restriction less than or equal to as a contraction greater than or equal. Alternatively, it may have been
an error occurred while capturing the data for a linear program in a computer program. For example,
the restriction x1+ x2≤230 could have been accidentally introduced into the computer as xl+2x≤130,
2 y
this error could result in an infeasible linear program. If you discover that a linear program is infeasible,
First, carefully check the formulation of the problem, and then ensure that the data has been
correctly introduced.
a linear program can still be infeasible. These infeasible problems occur in practice when the
restrictions are too restrictive. Such restrictions can arise in numerous ways. For example,
the requirement to produce at least 150 thousand gallons of CS-01 in restriction (6) of example 2.3.2 imposes a
limitation that cannot be handled by the resources available in the mixing departments
purification of IJK. As another example, the government can impose such severe restrictions on the amount of
pollutants emitted by a steel plant that make it impossible for any production plan to be feasible
satisfy those requirements and achieve a minimum level of profits.
Observe that there is a difference between a limited feasible region and a limited linear program. How is this
As illustrated in figure 2.18, it is possible for the feasible region to be unbounded, but for the linear program not to be.
unlimited.
Figure 2.18 An unlimited feasible region but not an unlimited linear program
KEY FEATURES
So far, you have seen three mutually exclusive types of linear programming problems.
to know, those who are:
[Link]: That is, they have an optimal solution.
2. Infeasible: That is, there are no values of the variables that satisfy all the constraints.
simultaneously.
3. Unlimited: That is, there are feasible values of the variables that make the objective function so
as big or as small as desired.
Every linear program is optimal, infeasible, or unbounded.
The feasible region of the resulting linear program is shown in figure 2.19. Note that the constraint (6) does not
affects the feasible region. The feasible region in figure 2.19 with the constraint (6) is exactly the same as the
from figure 2.15, which does not include this restriction. The restriction (6) is therefore redundant.
You may not be aware that a constraint is redundant when formulating a linear program, but this does not...
necessarily concerns him. The optimal solution does not change if a redundant constraint is included. The only
the effect is that it increases the size of the linear program, which, in turn, can lead to a program of
computer takes extra time to solve the problem. The general rule is: do not worry about the
redundant restrictions; if you think you need a restriction, include it in the formulation.
Maximize 2x 1+ 4x2
Depending on: 2 x1+ x2≤ 230 (1)
x1+ 2x2<=250 (2)
x 2<=120 (3)
x1 greater than or equal to zero (4)
x 2greater than or equal to 0 (5)
The graphical solution to this problem is illustrated in figure 2.20. There you can see that the two endpoints C and D
are optimal, in fact all the points on the line segment that connects these two endpoints are
optimal. Geometrically, the reason why this problem has alternative optimal solutions is due to
that the line of the objective function is parallel to one of the constraints that passes through one of the solutions
optima. In example 2.3.4, the objective function line is parallel to constraint (2).
The model is formulated by an investment consulting firm to develop a client's portfolio. The
variables X1 and X2 represent the quantity of Type 1 and Type 2 shares to buy in order to meet the objective
established to maximize the annual return on that investment or stock purchase. The total amount available
to invest is $80,000. The risk is a relative measure of the two alternative investments.
Type 1 action is a riskier investment. By limiting the total risk for the portfolio, the firm
the investor avoids placing excessive amounts of the portfolio in potentially high-return investments but
high risk. It also limits the amount of higher risk actions.
Subject to:
25 X1 + 50 X2 <= $80,000 available funds
0.5X1 + 0.25 X2 <= 700 maximum risk
1X1 <= 1.000
Type 1 actions
X1, X2 >= 0
Somber, or indicate in some way, the convex set also called the feasible region.
(See Graph 1).
e) Alternatively, to determine the optimal solution, you can calculate the coordinates of all the points.
extremes: a, b, c, d, and e, in the convex set of solutions. Then evaluate the Objective Function at each one
of them. The extreme point that provides the highest value will be the optimal extreme point.
f) In both cases, the optimal solution is obtained at the endpoint b with coordinates (800, 1,200). Thus,
the optimal solution is X1 = 800 and X2 = 1,200. Solving in the Objective Function:
1.1 What does the coefficient of variable X2 represent in the Objective Function and in the second constraint?
1.2 What type of solution does the model present?, Why? and How is it recognized in the graph?
1.3 What decision would be recommended with the solution found?
1.4 Analyze the constraints at the optimal point and present the information obtained.
1.5 What effect would a change in the annual return of each stock have on the optimal solution found?
Type 2. Suppose you change to 9. Explain and show on the graph. What is the name of this analysis that you
What does it do?
ANSWERS:
1.1 In the Objective Function, it represents the annual return of each Type 2 stock purchased, that is, each stock
Type 2 that is purchased will provide an annual return of Bs. 5. In constraint 2, it represents the measured risk.
For each Type 2 action. That is, each Type 2 action has a risk of 0.25.
1.2 Unique Solution, because there is a unique combination of Type 1 and Type 2 actions to purchase that maximizes the
annual return on investment and is recognized in the graph because a single extreme point provides the
maximum value for the objective. In this case, point b.
1.3 Buy 800 shares Type 1 and 1,200 shares Type 2 to maximize the annual income to 8,400.
monetary units ($)
1.4 Constraint 1: 25 (800) + 50 (1200) = 80,000 It is observed that it is fulfilled exactly, that is as
an equality. This indicates that with that optimal decision, the maximum budget amount is fully utilized.
available for purchase.
Restriction 2: 0.5 (800) + 0.25 (1200) = 700 It is observed that it holds exactly, that is, as a
equality. This indicates that with that optimal decision, the maximum required amount of risk will be fully achieved.
for the purchase.
In the graph, it can be observed, as something logical, that the constraints that are satisfied as equalities are
crossing over the optimum point and those that are satisfied as inequalities are in the solution region
away from the optimal point.
1.5 The analysis is called Sensitivity Analysis. It is performed after obtaining the solution.
optimal. In this case, it is carried out to determine the effect it has on the optimal solution,
change in a coefficient of a variable in the Objective Function.
The model is formulated by a company that wants to determine the quantity of units of product 1 (X1) and
Product 2 (X2) to be manufactured to meet the established goal of maximizing profit. The total amount
disponible de horas de trabajo para este período es de 48. La disponibilidad de materia prima es de 120 unidades
and the minimum amount of hours available for supervision is 36 hours.
(See Graph 3)
If you use the method of graphing the Objective Function with an arbitrary value, 48 for example, you will be able to
observe that the line is completely parallel to the first and third restriction. When moving it
parallelly towards its optimization, upwards because it is being maximized, it will finally fall
completely on the first restriction, of working hours, before completely leaving the region
solution. Two extreme points would be limiting the growth of the objective, point B and point A.
Any line that has a ratio of coefficients equal to that of another line is parallel to that other line.
The advantage of models with this type of solution is that any of them can be chosen.
optimal solutions, because all present the same optimal value for the objective. For example, if one of the
solutions have fractional values for the variables and cannot be worked with fractional values, the one that
make the decision to select a solution with integer values.
Answers for some questions similar to the previous model (Case 1: Model with
Unique Optimal Solution:
1.2 It is an optimal alternative solution because there is more than one combination of products 1 and 2 to produce, that
they provide the same optimal value for profit.
It is recognized in the graph because more than one extreme point limits the optimal value of the objective or provides
its optimal value, the points: A (16,0) and point B (8,24). Therefore, all points on the line AB.
they are also optimal.
1.3 You must select one of all the solutions. Suppose you choose the endpoint B (8, 24)
In this case, the decision would be: Produce 8 units of product 1 and 24 units of product 2 to maximize.
the profit in 96 monetary units: 6 (8) + 2 (24) = 96
This value for the Objective Function would also be obtained at the other extreme point A (16, 0) and in
any point on line AB in the solution region.
1.4. Constraint 1: 3 (8) + 1 (24) <= 48 48=48
It is observed that it holds as an equality. This indicates that with that optimal decision, the resource is fully utilized.
maximum amount of working hours available for production.
It is observed that it is fulfilled exactly, that is to say as an equality. This indicates that with that optimal decision
The maximum available amount of Raw Material will be fully utilized.
It is observed that it holds as an inequality. This indicates that with that optimal decision, 12 hours are used.
about the minimum amount of available supervision hours. 48 hours are used.
1.5 Here you can practice Sensitivity Analysis on the chart, varying some element of the model.
(See chart 4)
Max 40 X1 + 30 X2
Subject to:
2/5X1 + 1/2X2 <= 20
1/5X2 <= 5
3/5X1 + 3/10X2 <= 21
X1 >= 30
X2 >= 15
X1, X2 >= 0
It can be observed in Graph 4 that while the first 3 constraints delimit a space in
common, the last 2 delimit another common space for them. Therefore, there is no region of points
common that satisfy both sets of constraints and the model will have no possible solution. In
in these cases it is necessary to determine which are the inconsistent constraints for the model. That is,
which are really valid for the model.
Note that if the variables X1 and X2 they take the minimum value they can take in both
last restrictions, that is X1 = 30 and X2 = 15 then the third restriction would not be fulfilled.
This is an inconsistency.
These models should not exist in the real world (14). If the modeled system works, then the
The model must represent it in such a way that allows for a possible solution.
Max X1 + 2X2
Subject to:
-4 X1 + 3 X2 <= 3
X1 - X2 <= 3
X1, X2 >= 0
It has three extreme points A, B, and C, but none delineates the growth of the objective. This function can
take infinite values since the variables form points with infinite values within the region
solution and none of them provide you with an optimal finite value. Therefore, given the constraints, not
It is logical to find an objective of infinite value.
In these cases, the restriction or restrictions that were omitted in the system must be sought.
model and that would limit the decision variables to feasible values.
Subject to:
The model is designed for a dog daycare that stands out for providing a balanced diet to
Pets. The food is prepared by mixing 2 well-known brands of food that we will call X1 and X2.
It is desired to determine the amount of grams of X1 and X2 to mix in the food, with the aim
established to minimize mixing costs. This,
must contain at least 500 grams of protein and
less than 300 grams of fat per day. The percentages
of fat and protein content per gram of
X1 and X2 are known and used in the model.
When graphing the Objective Function, with an arbitrary value of 120, it is observed that when displaced
parallelly towards its optimization, downwards because it is being minimized, the line falls on point B,
before completely leaving the solution region. This point will be considered an optimal extreme point.
The optimal solution is Unique with the values: X1 = 1.500, X2 = 250 F.O. = 102.5
Knowing the definition of the model, you can answer questions similar to those asked in case 1.
1.1 What does the coefficient of the variable Y represent in the Objective Function and in the second constraint?
1.2 What type of solution does the model present?, Why? and How is it recognized in the graph?
1.3 What is the solution and the decision that would be recommended with the found solution?
1.4 Analyze the constraints at the optimal point and present the information obtained.
1.5 What effect would a change in the expected number of cards have on the optimal solution found.
Suppose it changes to 2.400. Explain and show on the graph. What is this Analysis called?
Answers:
1.1 The coefficient of variable Y in the Objective Function represents what is paid daily to each
female worker, that is, the cost of hiring a female worker per day is Bs. 2,200. In the second
The restriction represents the number of letters that each hired woman can handle per day, that is, 400 letters.
per day each hired woman can handle.
1.2 Unique and Degenerate. Normally the solution of a model contains a variable (Structural or of
slack) with a value greater than zero for each constraint of the model. In this case, more variables than normal.
they take a value of zero, in order to satisfy a greater number of constraints, at the optimal point. There is then
lower number of variables with a value greater than zero in relation to the number of constraints. That is why it is
Degenerate Solution as opposed to the Normal Solution. Furthermore, it is unique because it is a single one.
Combination of employees, men and women, provides the minimum cost.
Se debe a la presencia de restricciones redundantes en el modelo y se reconoce en el gráfico porque más de
Two constraints intersect at the optimal point. Of the total constraints that intersect the optimal point, only two
are necessary to calculate their coordinates. In this case, there is only one redundant constraint, so
The solution is degenerate. It is recognized as unique because there is only one extreme point that provides the
optimal value of the objective.
1.3 The solution is X = 6, Y = 4, F.O. = 23,800. The decision would be to hire 6 male employees and 4
women to minimize daily hiring costs by 23,800 monetary units: 2,500(6) + 2.200
(4).
1.4 Restriction 1
X + Y <= 10
6 + 4 = 10 With this decision, the maximum number of employees that were willing to be hired is contracted.
to hire.
Restriction 2
300X + 400Y <= 3,400
300(6) + 400(4) = 3 400 With this decision, the minimum number of letters expected will be handled.
Restriction 3
80X + 50Y >= 680
80(6) +50(4) = 680 With this decision, the minimum number of packages that is expected will be handled.
EXERCISES
1.- Which of the following relationships would not be acceptable as PL constraints?
1.7X 5Y 9
2.8XY 2X 12
3. 13X 9X 2 8
4.4X 7 / Y
5. XY 1
1. X2 Y2 8
2. 3X 7Y 9
3. 12X8 9XY
7X
4. 2.2X 13Y
Y
5.6XY 4Y
7. Delisabell produces nectar yogurts for human consumption. The yogurts and nectars are made from
fruit and for the yogurt milk. The yogurts can be probiotic and commercial yogurt.
We have an availability of 40 kg of fruit and 90 liters of milk daily.
It is known that the daily demand from Delisabell's customers for probiotic yogurts
it restricts its demand to 15 liters. Delisabell wants to determine the optimal mix of probiotic yogurt and the
commercial for your daily utility maximization.
For the following problems, find the optimal solution using the graphical method.
The search for the solution of a decision model is just the first step of the analysis. It is also
It is important for the manager to understand how sensitive the solution is to changes in the assumptions.
and the exogenous factors. This also applies to linear programming models, and one of the
pleasant characteristics of linear programming models is that a large part of this analysis of
sensitivity comes directly from the solution to the problem. First, we will see these concepts in
graphic form and then by interpreting the outputs of the computer programs
which are used to solve linear programming problems.
Example: A company manufactures two products, A and B. Each requires time on two machines. The
The first machine has 24 hours available and the second has 16. Each unit of product A
It requires two hours on both machines and each unit of product B needs three hours on the first.
machine and one hour in the second. The benefits are six dollars per unit of A and seven
dollars per unit of B, the company can sell all the units it produces of product A and
Due to market limitations, only 6 units of product B can be sold. Assume that the objective is
maximize profit; How many units of products A and B should be produced?
Formulation. Let:
The situation and the objective (to maximize profit) can be expressed with the following equations:
Dual prices.
Consider the restriction equation for machine 1, which specifies a maximum of 24 hours.
available. In terms of linear programming, this capacity limit is often
denote the value of the independent term or second member of the constraint (or simply TI).
Suppose you can add an hour for the restriction to be:
2X1+ 3X225
What happens with the solution?
The new optimal solution moves to point D', with X1= 5.75 y X2= 4.5. Like the previous solution
required X1= 6 y X2= 4, one additional hour available on machine 1 results in a
reduction of 0.25 units of product A and an increase of 0.5 units of product B. The change
net in the objective function Z is, then:
-(0.25)$6 + (0.50)$7 = $2
which represents an increase of two dollars in the profit. This is known as dual pricing,
marginal value or shadow price is the incremental change in benefits per unit change in
the independent term of a constraint.
Note that the dual price is maintained for a reduction in the value of the constant term.
For example, if there were only 23 hours available on machine 1, point D'' of figure 2 would be the
optimal solution (X1= 6.25 y X2 = 3.5), with a two-dollar reduction in profit. Then, the
dual price or marginal value represents the incremental increase in profit when a
restriction is expanded in one unit and a reduction in benefit when the restriction is tightened
in one unit.
The same analysis can be applied to the constraint of machine 2, which is shown in figure 3.
When the constraint is expanded by adding an hour, it becomes:
2X1+ X217
and the optimal point is D' with X1= 6.75 y X23.5. This represents an increase of 0.75 in the number of
units of product A and a reduction of 0.5 units of product B. The net effect on the
the benefit is:
+(0.75)$6 + (0.50)$7 = $1
A similar reduction in the constant term (that is, in the number of available hours) of the
Restriction 2 results in a solution for X.1= 5.25 y X2= 4.5, and a reduction of one dollar in
the benefit. Therefore, the dual price associated with the constraint of machine 2 is one dollar.
Consider the third constraint, the limit of the demand for product B:
X2 6
The increase of one unit in that limit, to X27 and the reduction of one unit, to X25, are shown
Graphically in figure 4. Note that none of the changes affect the solution, since the
restriction X26 is not effective. The optimal solution required only four units of product B.
therefore the limit of six units imposed by the market does not matter. Thus, the dual price is
zero. In fact, the dual price of any non-binding constraint is always zero.
Similarly, by reducing the available hours of machine 1, the optimal solution shifts.
up to point C of figure 6, where 16 hours of machine time are used. When reducing the hours,
the profit decreases by increasing the number of units of product A and by reducing the number of
unidades de producto B, pero al llegar al punto C no se producen unidades de B, por lo cual ya no es
this substitution process is possible. Then, the lower limit of the dual price interval of two
Dollars for machine time 1 is a reduction of eight hours (from 24 to 16)
A similar analysis can be performed for machine 2; figure 7 shows the limits. When adding
hours to the available ones, the optimal solution shifts from D to B. At this point, eight have been added.
hours (from 16 to 24) and the additional hours will no longer add value. If the hours are reduced by four
available (from 16 to 12), the optimal solution moves from D to H. Then, the dual price of one dollar is
keeps in the interval of 12 to 24 hours available in machine 2.
The market demand constraint for product B, X26, it's a little different. Remember
that this restriction is not effective and has a dual price of zero. The optimal solution requires only four
units of product B, which allows the demand limit to be indefinitely increased without
it would have an effect; it wouldn't matter if the restriction were X210 or X2100. On the other hand, if the limit
from the demand outside of four units, so that the restriction was X2 4, it would be effective.
Any reduction below this limit of four units would reduce the profit. So, the
the limit interval of demand (that is, the independent term) of the third constraint is
four units to infinity and within this interval the dual price remains zero.
The sensitivity analysis has produced the following ranges for the values of the term
independent of the three restrictions:
SUMMARY
Dual prices express the marginal value of the change in the independent term of a
restriction, but these values are only maintained within certain intervals.
SENSITIVITY ANALYSIS: EVALUATION OF NEW PRODUCTS
Dual prices can help identify bottlenecks or costly restrictions that can be
modify cost-effectively. Dual prices can also be useful for evaluating new products.
Consider an extension of our [Link] research and development department of the company
It has created a product, C. It is very profitable ($10 per unit) but requires four hours on the machine.
1andthreehoursonmachine2,shouldunitsofproductCbeproduced?
Of course, the linear programming problem could be reformulated to include this.
new product, but a quick response can be obtained with the dual prices. The production of
Product C will require a reduction in the quantities of the other two products, as they all compete.
for the available time on the two machines. Remember that dual prices imply that one hour
Machine 1 costs two dollars and one hour of machine 2 costs one dollar. One unit of product C
requires four and three hours on the two machines, respectively. Then, the opportunity cost
the unit of product C is:
(Dual price of machine 1 hours) x (Hours required on machine 1)] +
(Dual price of machine 2 hours) x (Hours required on machine 2)
I mean $2 x 4 + $1 x 3 = $11
This represents the opportunity cost of producing A and B. The benefit of
Product C is only 10 dollars, so it should not be produced, since the opportunity cost
exceeds the unit benefit.
ANOTHER EXAMPLE. The same company has another item, product D, which requires one hour in
Each of the machines produces a unit profit of five dollars, should it be produced?
The opportunity cost of this product is:
$2 x 1 + $1 x 1 = $3
Since the benefit of five dollars per unit exceeds the opportunity cost of three dollars, it is necessary to
produce some units of product D.
This analysis does not indicate how many units of product D should be produced; it only indicates that it must
to be included in the product mix. The manager would reformulate the problem of
linear programming to include another decision variable for product D and then I would solve it
theproblemagain.
SUMMARY. The opportunity cost of a new product is calculated as the sum of:
(Dual price) x (Required units)
for all affected constraints. If the opportunity cost is less than the benefit per unit
of the new product, then it is profitable and should be included in the optimal solution. If the cost of
opportunity is greater than the profit per unit, then the product should not be manufactured.
A manager may be interested in what can happen with the solution to a problem of
linear programming if one of the coefficients of the objective function changes, for example, due to a
increase in the price of raw materials. A graphical analysis similar to the one that was done can be carried out.
for changes in the coefficients of the constant term.
Assume that the profit per unit of product A remains fixed at six dollars, but that the
benefit per unit B, which is expected to be seven dollars may change. Figure 8 shows the
benefit functions if the benefit per unit of product B increases to eight dollars, nine
dollars and then to ten. When the coefficient of X2in the objective function is $8 (that is, profits of
eight dollars per unit of product B), the profit function is Z = 6X1+ 8X2and point D is
still the optimal solution. If the coefficient of X2it increases to $9, the slope of the profit function
is identical to the slope of the constraint of machine 1 and falls exactly on the line of
restriction. Therefore, there are several alternative optimal solutions and both D and H are vertices.
optimal. Assume that the coefficient of X2increase more, up to 10 dollars per unit, so that
The profit function is Z = 6X1+ 10X2, as shown in figure 8. Note that in the region
feasible there are points above the line (that is, with greater benefits), so point D already
it is not optimal. Now H is the only optimal solution. In other words, if the coefficient of X2exceeds
nine dollars, the optimal point moves from point D to H.
The same analysis can be applied to the benefits of A, keeping the coefficient constant.
X2and modifying that of X1Although the graphical analysis is not displayed, the results indicate that the
coefficient of X1it can decrease from 6 to 4.67 before the optimal point changes to H. On the other hand,
the coefficient can increase from 6 to 14 before the optimal point shifts to C. These results
they can be summarized as follows:
Intervals of the coefficients of the objective function
(interval in which the basic optimal solution does not change)
Intervals of the constant term and intervals of the coefficients of the objective function.
Conceptually, the intervals of sensitivity analysis are similar for the coefficients of the
objective function that were previously developed and those corresponding to the coefficients of
independent term. However, there are important differences.
The optimal solution does not change in the interval specified for the coefficients of the function.
Objective; that is, the company must produce six units of product A and four units of
Product B. Outside the interval, the optimal solution changes abruptly to another vertex. Of course,
the total benefits vary according to changes in the coefficients, but once again, the
solution does not vary within the intervals.
On the other hand, in the intervals of the independent term, the solution changes, since the optimal point
it moves along one of the constraint lines. In our example, different occur.
quantities of products A and B as the optimal point moves. When reaching the limit of the interval, a
new vertex becomes the optimal solution.
RESUMEN:
The intervals, both for the coefficients of the constant term and for those of the function
Objective, they provide important information in the interpretation of a program's solution.
linear. The intervals of the constant term determine the limits within which it is
it maintains the dual price for each constraint. The intervals of the coefficients of the objective function
determine the limits within which the solution is the same.
Sensitivity Analysis:
COMPUTER SOLUTION
Example: A company manufactures two products, A and B. Each requires time on two machines.
The first machine has 24 hours available and the second has 16. Each unit of product A
It requires two hours on both machines and each unit of product B needs three hours on the first one.
machine and one hour in the second. The profits are six dollars per unit of A and seven
dollars per unit of B, the company can sell all the units it manufactures of product A and
Due to market limitations, only 6 units of product B can be sold. Assume the objective is
maximize profit; How many units of products A and B should be produced?
In the following Table 1, the solution and comments for the problem are observed.
Let's consider a comprehensive example to review the concepts of linear programming that we
They were presented in this chapter. The company Lazy Life of Leisure (LLL) produces garden furniture.
The company has three products: armchairs, chairs, and tables. It requires 60 minutes of work to produce
a chair, 30 for a chair and 90 for a table. LLL has 9000 minutes of work and 600
wood units and can sell all the chairs and tables it produces. However, it cannot
Sell more than 50 armchairs. LLL makes a profit of 60 dollars for each armchair, 40 dollars for each
chair and 80 dollars per table. The formulation of LINDO and the solution for this case are shown in the
Table 2. The comments in the table describe the solution, the conclusions of the sensitivity analysis.
and the parametric analysis.
An interesting feature of this solution is that there is an alternative optimal solution. One can
see in the linear programming output that there is another solution because one of the variables of
decision, TABLES, has a value of zero in the solution and also a reduced cost of zero. This means
to say that some tables can be incorporated into the solution without affecting the benefit. From the
linear programming solution cannot determine what the alternative basic solution is, but it
knows that it exists.
Suppose that LLL is considering another product, for example, SWINGS. Each SWING requires
200 minutes of work and nine units of wood generate a profit of 100 dollars. Should it
to produce SWINGS?
The opportunity cost associated with a SWING is:
(dual price of labor) * (required labor)
(dual price of wood) * (wood required)
= 0*200 + 6.67*9 = $60
Since the benefit of 100 dollars exceeds this figure, SWINGS must be produced. It would have to
reformulate the problem and then solve it to know exactly how many SWINGS there are
what to produce.
Another feature shown in table 2 is the parametric analysis. Note that the restriction of
the amount of wood available (600 units) was effective and the dual price was 6.67 dollars
per unit. Assume that LLL can obtain additional wood. How much should they buy? The analysis
Parametric is designed to answer this question. Specifically, suppose that it is possible to
Buy 1000 units for 5000 dollars. Should they be purchased?
Note that the first 900 additional units (from 600 to 1500) have a dual price of $6.67 and
the next 100 units have a (dual price) value of 3.33. Therefore, the total value of the
1000 units is (900*$6.67) + (100*$3.33) = $6333. Since this figure is greater than the cost of 5000
dollars, we need to buy the wood.
RESUMEN
The optimal solution to a linear programming problem is a vertex of the feasible region.
The sensitivity analysis of the constraints first involves finding the dual price, marginal value.
from a unit change in the constant term of the restriction, and then find the interval of
values in which the dual price is maintained (variability range on the right side of the equations
of the restrictions).
The reduced cost is a marginal value analogous to the introduction of a unit of a
decision variable in the optimal solution.
The coefficient intervals of the objective function provide additional sensitivity analysis.
These intervals indicate the changes in the coefficients of the objective function that do not alter the
optimal solution.
Parametric analysis examines the changes in the solution and how the term can vary.
independent (RHS) of a constraint within a broad interval.
There are several software programs for solving linear programming problems.
including some existing within spreadsheets (EXCEL). The LINDO package is presented
as an example, but the outputs of other programs are similar.
VARIABLE VALOR COSTO REDUCIDO The rows correspond to the restriction numbers.
ARMCHAIRS 50.00000 .00000 (row 1 is the objective function)
CHAIRS 50.00000 .00000 The solution requires 50 armchairs, 50 chairs, and no table.
TABLES .00000 .00000 Note that the reduced cost of the tables is zero, which
indicates that some tables can be produced without reducing the
benefit. This indicates that there is an alternative solution.
RHS AUMENTO REDUCCIÓN Intervals for the restrictions. As before, the program
CURRENT LINE ALLOWED ALLOWED shows the increase or reduction, but not the limit.
2) 9000.00000 INFINITE 4500.00000
3) 600.00000 900.00000 300.00000
4) 50.00000 50.00000 50.00000
Reduced costs have a value of zero or are positive. In minimization, the effect of including
one unit in the solution is the increase in costs; in maximization it is the reduction of
benefit.
DEGENERATION
In a linear programming problem with m constraints, the basic solution will have exactly m
basic or solution variables. In LINDO outputs, the basic variables can be determined with just
identify the decision variables or the slack or surplus variables that are different from zero.
Sometimes (in fact, frequently in large-scale linear programming problems)
It happens that there are fewer than m variables different from zero in the optimal solution. This means that by
At least one of the basic variables is zero, a situation known as degeneration.
Generally, degeneration is not a problem, but care must be taken in the interpretation of
some of the dual prices. Specifically, when examining the intervals of the constant term,
a dual price can have a zero value as an allowed increase, a zero allowed decrease, or
both. In other words, the dual price will remain only within a limited range or perhaps will not exist.
such interval.
ALTERNATIVE SOLUTIONS
Sometimes a linear programming problem can have more than one optimal solution. It is
It is easy to detect these cases in LINDO results if the solution does not present degeneration.
If there is a decision variable that has a value of zero and also a reduced cost of zero, this
indicates that there is an alternative solution. Furthermore, a constraint with slack (or surplus)
equaltozeroandwithadualpriceofzeroalsoindicatesanalternativesolution.
Sensitivity Analysis:
a) The ranges of variation for the coefficients of the variables in the Objective Function:
- Cx1 3125 3200 Cx2 7272.727 6875 Cx3
The income generated by each visit to a commercial client can vary between - infinity and 3125 and the solution
The basic will remain the same. Within that range, the value of total revenue, Objective Function, does not change.
Since the value of variable X1 is zero, therefore multiplying it by any value within that range does not
will have no effect on the target value.
The income generated by each visit to a professional client can vary between 3200 and 7272.727 and the solution
basic will remain the same. Within that range, the total income value, Objective Function, can
vary depending on the value that the income takes within that range. If it changes to 3,200 or 7272.727, it would exist
also an optimal alternate solution.
The income generated by each visit to an industrial client can vary between 6875 and and the basic solution
it will remain the same. Within that range, the value of total income, Objective Function, may vary.
depending on the value that income takes within that range. If it changes to 6875, there would also be a solution.
optimal alternative.
b) The ranges of variation within which the Basis does not change (RANGES IN WHICH THE BASIS IS
) indicates the following ranges for the right-hand sides of the constraints (RHS):
942.857 b1 4942.857 6.950 b2 0 b3 0 b 4 9777,7780
The maximum number of hours available for visits can vary between 942.857 and 4942.857 and the solution
the basics will remain the same.
The maximum amount of dollars available for per diem can vary between 6,950 and and the basic solution
it will remain the same.
The amount of 20% of hours required for visits to commercial clients can vary between 0 and and the solution
the basic will remain the same.
The amount of 30% of the travel budget required for visits to professional clients may vary between
0 and and the basic solution will remain the same.
Dual Variables:
For the first constraint, the value of 625 of the dual variable indicates that the optimal total income will increase.
for each hour that the maximum number of hours currently available for visits increases,
as long as that increase is used. Therefore, in the absence of further information, it would be
it is convenient to increase this maximum amount available. The maximum amount that can be increased is
the number of hours is 4942.857 as indicated by the sensitivity analysis of the solution. Beyond that
amount, the basic solution would change, by changing the amount of the dual variable and forcing an analysis
different.
For the second constraint, the value 0 of the dual variable indicates that the optimal total income will not increase.
for every monetary unit by which the maximum budget currently available is increased. Therefore, in
In the absence of more information, it would be irrelevant to increase this maximum amount available. The quantity
the maximum to which this amount can be theoretically increased is an infinite amount as indicated by the
sensitivity analysis of the solution. In practice, it refers to any finite amount.
For the third constraint, the value 0 of the dual variable indicates that the optimal total revenue will not vary for
every hour in which the maximum of 20% currently required to make customer visits increases
commercials. Therefore, in the absence of further information, it would be indifferent to increase this maximum amount.
For the fourth constraint, the value 89.28571 of the dual variable indicates that the optimal total income.
they will increase by that amount for each $ that the maximum of 30% currently required increases for
travel expenses for visits to be made to professional clients. Therefore, in the absence of further information, it would be
It is convenient to increase this maximum available amount. The maximum amount to which this can be increased
the amount is 9777.778 as indicated by the sensitivity analysis of the solution. Beyond that amount, the
basic solution would change, changing the amount of the dual variable and forcing a different analysis.
NOTE: The use of Integer Linear Programming is more convenient in this model.
Currently, there are 48 wooden tables, 20 hours for retouching, and 8 for carpentry. A desk is
sells for US$60, a table for US$30, and a chair for US$20. DAKOTA thinks that the demand for desks and
Chairs are unlimited, but at most 5 tables will be sold. Since the available resources have already been purchased.
DAKOTA wants to maximize profits.
1. How much can the price of chairs vary for the production plan to remain optimal?
What happens when a desk can be sold for US $55?
What happens if only 30 wooden tables are available?
4. Dakota is considering making computer tables. A computer table is sold for US
$36 and it uses 6 wooden boards, 2 hours of touch-up work, and 5 hours of carpentry. Is it worth it for Dakota?
to make these tables?
5. Find and Interpret the dual prices.
6. Formulate the Dual Model and solve it.
7. Analyze in the Dual the effect of changing the selling price of the tables
8. Suppose Dakota wants to manufacture a new type of chairs that sell for $15 and use 1 board.
of wood, 1 hour of touch-up and 1 hour of carpentry. What happens to the optimal solution?
CASE 2.- An industrial company produces 4 models of Keyboards, each of which is treated in the
assembly and finishing departments. The number of man-hours of labor needed, by keyboard in
each department is:
Modelo1 Modelo2 Modelo3 Modelo4
Assembled 4 10 7 10
Finished 1 1 3 4
There are 6000 man-hours available in the assembly department and 4000 in the
finished in the next 6 months. The profits in dollars for each keyboard model are:
2.2, 5, 3 and 4 respectively for keyboards 1, 2, 3 and 4.
There are restrictions to produce at least 100 units of model 2, at most 200 units of model 3, and to
more than 250 units of model 4. The production of model 1 is unrestricted.
Let X1, X2, X3, and X4 be the variables of the problem that represent the number of keyboards of models 1, 2, 3, and 4.
respectively to produce in the next 6 months.
a) Formulate the Linear Programming model to determine how much the manufacturer should produce of each
model, so that the profits are maximized.
Using Lindo Software or WinQsb for your solution, answer the following:
b) The maximum utility of the company. What quantity is produced of each model?
c) The slack or excess of assembly and finishing hours.
d) How many hours of assembly are used in the production of model 1? How many finishing hours are used?
used in the production of model 2?
e) What happens to current utility if the minimum demand for model 2 increases or decreases by 1 unit?
What range of variability is this value valid in?
f) How much should they pay at most to increase an extra hour of assembly? How much for one hour?
extra finish?, within what ranges of variation are these values valid?
g) How much should be invested at most to hire 1000 overtime assembly hours?
h) How much must the unit profit of model 3 improve to justify its production?, How much the
of model 4?
i) What ranges can the unit utility of model 1 and 2 vary within, without affecting the plan of
current production?
j) A fifth model is under consideration. It requires 4 hours of assembly and 5 hours of finishing.
The profit per unit is 2 dollars. Should it be produced? Why?
CASE 3.- A factory produces 4 products: A, B, C, and D. Each unit of product A requires two hours of
machining, one hour of assembly and costs $10 in work in process inventory. Each unit of product B requires
one hour of machining, three hours of assembly, and it is worth $5 in work in progress inventory. Each unit of C needs
2 ½ hours of machining, 2 ½ hours of assembly, and it costs $2 in work in progress inventory. Finally, each unit
Product D requires five hours of machining, does not need assembly time, and costs $12 in inventory.
in process.
The factory has 1200 hours of machining and 1600 hours of assembly. Furthermore, it cannot allocate more than
$10,000 in work in progress inventory. Each unit of product A has a profit of $40; each unit of B, of
$24; each unit of C, $36, and each unit of D, $23. No more than 200 units of A can be sold; not
more than 160 of C, and any amount of products B and D can be sold. However, to comply with
a contract, at least 100 units of product D must be produced and sold. The factory's goal is
maximize the resulting utility from the sale of the four products.
Answer the following questions using the output from LINDO or WinQsb.
a) How many units of each product should be produced? What is the optimal profit?
b) What is the slack or surplus of each of the resources?
c) How much should be paid at most for an additional hour of machining? How much for one hour?
additional mounting? How much does an additional $1 generate in working capital for inventory?
process?
d) Suppose that the company can invest money in advertising in order to increase the demand for the product
How much could the company invest to increase the demand for product A in one unit?
e) If the contract for product D were for 130 units (instead of 100), what effect would it have on the
utility?
f) What would happen to the production plan and optimal profit if the unit profit of product A
Does it decrease by $5? And what would happen if it decreases by $10?
g) For question f. What is the range of variability of the coefficients of the objective function, within
of which the production plan does not vary?
h) How much should the unit profit of product C improve to justify its production.
A new product, product E, is under consideration. It requires 2 hours of machining, 5 hours of
assembly and $20 in working capital. The profit per unit is $50. Should any unit be produced?
of product E?
CASE 4.- A television manufacturer produces four models: A, B, C, and D, A and B are black and white models, and C and
It gives colored models. Each television requires time for assembly and testing. Table 1 indicates the requirements.
of assembly and testing for each model, as well as the amount of time available for each operation. In addition, by
Due to a strike, there is a shortage of kinescopes and the supplier indicates that they will not be able to provide more than 180.
Cinescopesnextmonthand,ofthese,atmost100canbecolored.
The problem is formulated and solved in Table 2. The decision variables Xa, Xb, Xc, and Xd represent the
number of units produced for the model.
Responda las siguientes preguntas con base en los resultados de LINDO de la tabla 2.
a) Cuál es el programa de producción óptimo para el fabricante de televisores? ¿Cuál es el beneficio máximo?
b) What is the marginal value of an additional hour of assembly time? In what interval is this valid?
marginal value?
c) Suppose that 80 additional hours of testing time can be obtained at a cost of four dollars each.
Time? Should it be done? What would be the increase in benefits?
d) Suppose that a price change is instituted that modifies the marginal benefit of model D, from 100 to
130 dollars. Would this change the optimal production plan? Suppose the price of model D changes.
from 100 to 160 dollars. In this case, would the production plan vary?
e) How much would the price of model A have to change in order to justify its production?
f) Management wants to introduce a new color model (model E). Model E would only require 10 hours of
assembly and 3 hours of testing. The marginal benefit of the model would be 70 dollars. Should it be produced the
new model? If so, what would be the marginal value of the production of one unit of model E?
Table 2
Max 40Xa + 60Xb + 80Xc + 100Xd
s.a.
2) 8Xa + 10Xb + 12Xc + 15Xd <= 2000
3) 2Xa + 2Xb + 4Xc + 5Xd <= 500
4) Xa + Xb + Xc + Xd <= 180
5) Xc + Xd <= 100
End.
OBJECTIVE FUNCTION VALUE
1) 12500.00
VARIABLE VALUE REDUCED COST
Xa 0.000 10,000
Xb 125,000 0.000
Xc 0.000 0.000
Xd 50,000 0.000
NO. ITERATIONS= 5
CASE 5.-HAL produces two types of computers: PC and VAX. The computers are manufactured in two locations:
New York and Los Angeles. New York can produce up to 800 computers, and Los Angeles up to 1000.
HAL can sell up to 900 PCs and 900 VAXes. The profits associated with each production and sales site are
los siguientes: Nueva York, PC, 1000 dólares; VAX, 800 dólares; Los Ángeles, PC, 1000 dólares; VAX, 1300
dollars. The time of specialized labor required to build a computer at each site is given at
continuation: New York, PC, 2 h; VAX, 2 h; Los Angeles, PC, 3 h; VAX, 4 h. A total of 4000 is available.
h of work. Let it be:
XNP = PCs produced in New York
XLP = PCs produced in Los Angeles
XNV= VAX produced in New York
XLV= VAX produced in Los Angeles
So we get the output from LINDO from the following figure. Use this output to answer the questions.
following:
a) If there were 3000 hours of specialized labor time, what would HAL's profit be?
b) Suppose an external contractor offers to raise the capacity of New York to 850 computers, at a
cost of 5000 dollars. Would HAL have to accept the contractor?
c) How much would the profit have to increase for a VAX produced in New York, for HAL?
Will it consider producing VAX computers in that city?
d) What is the maximum amount that HAL would have to be willing to pay for an extra hour of
work?
1582500.
NO. ITERATIONS= 5
RANGES IN WHICH THE BASIS IS UNCHANGED:
CASE 6.- "JC" S.A. wants to spend $1500 on local advertising. The overall objective is to achieve the maximum
possible audience while reaching at least 9000 children and 1000 elderly people.
There are 3 media available; their costs and the audience they have are given in the following table:
NO. ITERATIONS= 0
CASE 7.- A jewelry store produces three models of jewelry (rings, bracelets, and necklaces). To do this, it uses two types of
materials (gold and silver) of which there are 4000 and 6000 grams available respectively. The requirements
The material costs per unit for the three models are given below:
A market study indicates that the minimum demand for the three models is 200, 200 and
150 units, respectively. The unit profits are: 30, 20, and 50 soles for a ring.
bracelet and necklace respectively.
Use the Lindo or WinQsb software and use its output to answer the following questions:
a) ¿Cuál es el plan de producción óptimo?.y Cuál es la utilidad máxima?.
b) What is the maximum amount that the jewelry store should be willing to pay for an extra hour?
What range of values is this value valid for?
c) If the profit per collar were S/. 20 (instead of S/. 50), how would it affect the production plan?
and current optimal profit?
What would happen to the company's optimal production plan if the profit from a ring triples?
What happens with the optimal utility?
e) What amount of gold and what amount of silver does the jewelry use?
f) How many man-hours are spent on the production of rings?
g) If the minimum demand contract for the collars were doubled, what effect would it have on the profit?
the company?
h) If a new product (Lapels) is considered that requires 3 grams of gold, 2 grams of silver, and 10
working hours and the profit per unit is S/. 45, should it be produced?
i) Obtain the DUAL LP model, define its variables, and show its optimal solution.
4 Dual Analysis
Associated with a PL, there is another PL, called dual. Understanding the relationship between a PL and its dual is very important.
for the understanding of advanced topics in linear and nonlinear programming. This relationship is important
because it provides interesting economic interpretations. The knowledge of duality also
provides other perspectives on sensitivity analysis.
When we take the dual of a given LP, we refer to a given LP as the primal. If the primal is a problem
max, the dual will be a min. problem, and vice versa. This means that if one of the LPs is a min. problem, the
another will be a max problem. For our convenience, we define the variables for the max problem
z , x1,…and
x, 2 xfor
n
the min problem. w , y1y, 2 ,…. y n
We start by explaining how to obtain the dual of a max problem, in which it is required that all the variables.
no negative ones and all the constraints are less than or equal to restrictions (normal max problem). It can be written as a
maximum normal problem as:
A min problem, like (2), that has all the constraints ≥ and all the variables non-negative, is called
min problem normal. If the primal is a normal min problem, like (2), we define the dual of (2) as (1).
A table facilitates the obtaining of the dual of a LP. If the primal is a standard max program, it will be possible to
find it using Table 1 horizontally; the dual will be obtained using Table 1 vertically. In
In a similar way, if the primal is a standard minimization problem, it can be obtained using Table 1 vertically; the
dual will be found using the same table horizontally. It illustrates the use of this table, obtaining the dual
the Dakota problem and the food problem. The Dakota problem is:
Where:
x1 produced desks
x2 produced tables
x 3 chairs produced
TABLES
Max z
Min. w (x 1 0) (x 2 0) … (x n 0)
x1 x2 xn
a1n b1
( y 1 0)
y1 a11 a12 …
a 21 a 22 a 2n b2
( y 2 0)
y2 …
… bm
ym a m1 am2 a mn
( y m 0)
c1 c2 cn
We obtain the Dakota problem using Table 2 horizontally, using the format of Table 1.
Then, using Table 2 vertically we will obtain Dakota's dual as:
Max z
Min. w (x 1 0) (x 2 0) (x 3 0)
x1 x2 x3
( y 1 0) 48
y1 8 6 1
20
( y 2 0) y2 4 2 1.5
8
( y 3 0) y3 2 1.5 0.5
60 30 20
The tabular method for finding the dual clearly shows that the i-th constraint of the dual corresponds to the
i-th primal variable For example,
xi the first constraint of the dual corresponds to (desks), because
x1
each number in the first dual constraint comes from the commune of x1 (desk) of the primal. Similarly the
the second dual constraint corresponds to x2 (months), and the third restriction of the dual corresponds to x 3 (chairs).
In a similar way, the dual variable y I it relates to the i-th constraint of the primal. For example y1 if
it relates to the first constraint of the primal (the wood constraint), because each coefficient of y1 in the
dual sale of the restriction of wood or the availability of wood. The importance of these
correspondences between the primal and the dual will be clarified later.
Now we find the dual of the feeding problem. As the feeding problem is a
My problem, we continue with the agreement to use w to indicate the objective function y,y 1,y2,y3y 4 y for
the variables. Then the problem of feeding can be written as:
As it is primal, it is a normal min problem, we can find it vertically in Table 3, and its dual
horizontally in the same table. We then obtain the dual of the feeding problem, as
Max z
Min. w (x 1 0) (x 2 0) (x 3 0) (x 4 0)
x1 x2 x3 x4
( y 1 0) y1 400 3 2 2 50
( y 2 0) 200 2 2 4 20
y2
( y 3 0) 150 0 4 1 30
y3
500 0 4 5 80
( y 4 0) y4
500 6 10 8
Like in the Dakota problem, we observe that the i-th dual constraint corresponds to the i-th
variable of the primal. For example, one can consider the third constraint of the dual as the constraint of
refreshment. Also, the i-th variable of the dual corresponds to the i-th constraint of the primal. For example, it
you can consider x 3 (the third variable of the dual) like the sugar variable.
Unfortunately, many LPs are not standard max problems or standard min problems. For example,
Applying the rules we have:
Max z 3x 1 4x 2
Max z 3x 1 4x 2
s.a. 2x1 5x 2 40
s.a. 2x1 5x 2 40
3x 1 2x 2 50
3x 1 2x 2 50
3x 1 2x 2 50
8 times 1 3x 2 25
8x 1 3x 2 25
x1 ,x2 0
x1 ,x2 0
in this case, it is necessary to present the
mathematical model in any of
the previous forms, for that they Changing to the address of the
recommend using the following rules restriction 3, there would be a normal LP:
of transformation:
Max from 3x 1 4x 2
a) Max z Min z s.a. 2x1 5x 2 40
b) a ij x j b i
a x ij b j i 3x 1 2x 2 50
c) a ij x j b i
a x by
ij j i 3x 1 2x 2 50
a ij x j b I
8x 1 3x 2 25
x1 ,x2 0
The first dual constraint relates to the desks, the second dual constraint relates to the tables; and the
third dual restriction with the chairs. Furthermore, it isy1related to wood; with the finishing
y 2 hours; and
y 3 with the hours of carpentry. The information relevant to Dakota's problem is shown in Table 4.
Now we are ready to interpret the dual of Dakota (3). Suppose a businessman wants to buy all
the resources of Dakota. So the businessman has to determine the price he would be willing to pay for
one unit of each of the resources of Dakota. With this in mind, we define
We now demonstrate that the prices of the resources would need to be determined y1y, 2 y y 3 , solving the
Dakota dual (3). The total price that would have to be paid for these resources is 48y1 20y2 8y 3 Since
it is necessary to minimize the cost of purchasing resources,
What are the restrictions faced by the entrepreneur? Prices of resources need to be quoted.
high enough to persuade Dakota to sell her resources. For example, the businessman has to offer
at least 60 dollars for a combination of resources that includes 8 feet of lumber, 4 hours
of finishing, and 2 hours of carpentry, because Dakota could, if they wanted to, use these resources to produce a
desk, which can be sold for 60 dollars. Therefore, the eventual buyer has to pay at least 60
dollars for the combination of resources required to manufacture a desk, otherwise Dakota would have none
reason to sell these resources. As the entrepreneur offers 8y 1 4 y 2 2 y 3 for the resources used to
to produce a desk, you have to choose y1y, 2y 3 y to satisfy
8y 1 4 y 2 2 y 3 60
But this is exactly the first constraint (of the desks) of Dakota's dual. A similar reasoning
It shows that you have to pay at least 30 dollars for the resources used to make a table (6 feet)
wood table, 2 hours of finishing, and 1.5 hours of carpentry). This means that y1y, 2 y y 3 has to
satisfy
6 y 1 2 y 2 1.5y3 30
It indicates that you have to pay at least 20 dollars (the price of a chair) for the required resources to
to produce a chair (1 foot of wood, 1.5 hours of finishing and 0.5 hours of carpentry). It is also necessary to
satisfy the sign constraints y1 0,y2 0y3 y 0 Putting everything together, we observe that the solution of the dual
from the Dakota problem provides prices for wood, finishing hours, and carpentry hours. The
the previous analysis also shows that the i-th variable of the dual corresponds effectively, in a natural way,
to the i-th constraint of the primal.
In summary, when the primal is a standard max problem, the dual variables relate to the value of the
resources available for those who make decisions. For this reason, it often refers to the variables of
dual like the shadow prices of resources. In the next section, the resources are studied more deeply.
shadow prices.
To interpret the dual of a minimization problem, we consider the dual of the feeding problem. In the section
previously, we found that the dual of the feeding problem was:
Table 5 contains the data for the food problem. To interpret (4), assume that Candice is
a seller of 'nutritional substances' who offers calories, chocolate, sugar, and fat. Candice wants
make sure that a dietitian meets your daily requirements by purchasing calories, sugar, fat with her
chocolate. Then Candice has to determine:
Candice wants to minimize her income by selling the daily ration of nutrients to the dietitian.
required. Since Candice will receive 500x1 6x 2 10x3 8x 4 cents as profit with the dietitian, the
Candice's objective is:
maxz 500x1 6x 2 10x3 8x 4
This is the objective function of the dual of the nutrition problem. But by fixing the prices of the substances
nutritious, Candice needs to set the prices low enough so that the dietitian has an interest
economical in buying all the nutrients with it. For example, when buying a cake for 50
cents, the dietitian can obtain 400 calories, 3 oz. of chocolate, 2 oz. of sugar, and 2 oz. of fat. From this
In any case, Candice cannot charge more than 50 cents for this combination of nutrients. This will arrive
to the following restriction (cake restriction):
4i0t0e1s
m 3x 2 2x 3 2x 4 50
What is the first constraint in the dual of the food problem. A similar reasoning provides the
second restriction (ice cream restriction), the third restriction (cola soda restriction), and the fourth
restriction (cheesecake restriction). Once again, the sign constraints must be satisfied. x1 0,
x2 0x,3 0 , andx4 0 .
The analysis shows that the seventh values can be interpreted as x I as a price for one unit of the
nutritional substance associated with the i-th dual constraint. In this way, x1 it would be the price of 1 calorie,x2
it would be the price of 1 ounce of chocolate and so on. Furthermore, we see that it is reasonable to relate the i-
the i-th variable ofxthe
I
dual with the i-th of the primal.
In summary, we have shown that when the primal is a standard max problem, or a standard min problem, the
The dual problem has an intuitive economic interpretation.
It is an iterative procedure that allows for improving the solution at each step. The process concludes
when it is no longer possible to continue improving that solution.
Starting from the value of the objective function at any vertex, the method consists of searching
successively another vertex that improves upon the previous one. The search is always madeand through the sides
of the polygonor of the edges of the polyhedron, if the number of variables is greater). As the number of
vertices (and edges) is finite, a solution can always be found.
The simplex method is based on the following property: if the objective function, f, does not take its value
maximum at vertex A, then there is an edge that goes from A, along which it increases.
The simplex method was created in 1947 by the mathematician George Dantzig.
The simplex method is primarily used to solve linear programming problems in which
three or more variables intervene.
Matrix algebra and the Gauss-Jordan elimination process for solving a system of equations
Linear equations form the basis of the simplex method.
With a view to understanding the methodology applied in the SIMPLEX Method, we will solve the
next problem:
Maximize Z = f(x,y) = 3x + 2y
subject to: 2x + y 18
2x + 3y 42
3x + y 24
x 0, y 0
The following phases are considered:
1. Convert inequalities into equalities
A slack variable is introduced for each of the constraints, to convert them into
equalities, resulting in the system of linear equations:
2x + y + s1 = 18
2x + 3y + s2 = 42
3x + y + s3 = 24
4. Find the decision variable that enters the basis and the slack variable that exits.
base
A. To choose the decision variable that enters the basis, we look at the last row, that of
the coefficients of the objective function and we choose the variable with the negative coefficient
greater (in absolute value).
In our case, the coefficient variable is -3.
If there were two or more equal coefficients that meet the previous condition, then
choose any one of them.
If there are no negative coefficients in the last row, it means that the
optimal solution. Therefore, what will determine the end of the application process of
simplex method, is that in the last row there are no negative elements.
The column of the variable that enters the base is called the pivot column (In a bluish color).
B. To find the slack variable that has to leave the base, each term is divided by
the last column (solution values) by the corresponding term of the pivot column,
as long as the latter are greater than zero. In our case:
18/2 [=9] , 42/2 [=21] y 24/3 [=8]
If there were any element less than or equal to zero, that quotient is not made. In the case of
that all elements were less than or equal to zero, then we would have a solution no
bounded and cannot continue.
The term of the pivot column that in the previous division gives rise to the smallest quotient.
Positive, the 3, already 8 is the smallest, indicates the row of the slack variable that leaves the base, d.
This row is called the pivot row (In bluish color).
If when calculating the quotients, two or more are equal, it indicates that any of the variables
corresponding ones can leave the base.
C. At the intersection of the pivot row and pivot column, we have the operational pivot element,
3.
The new coefficients are obtained by dividing all the coefficients of the row by the pivot.
operational, 3, which is the one that needs to be converted into 1.
Next, by using Gaussian elimination, we make the remaining terms of its column zero.
with which we obtain the new coefficients of the other rows including those of the objective function
Z.
It can also be done using the following scheme:
Pivot row:
New pivot row = (Old pivot row) / (Pivot)
Rest of the rows:
New row = (Old row) - (Coefficient of the old row in the entering variable column) X
(New pivot row)
Let's see it with an example once the pivot row (x row in Table II) has been calculated:
Old row of s 2 30 1 0 42
- - - - -
Coefficient 2 22 2 2 2
x xx x X x
New pivot row 1 1/3 0 0 1/3 8
= == = = =
New row of s 0 7/3 0 1 -2/3 26
Since there is one negative element in the last row, -1, it means that we have not reached yet
the optimal solution. The process needs to be repeated:
The variable that enters the basis is y, as it is the variable that corresponds to the coefficient -1.
B. To calculate the variable that comes out, we divide the terms of the last column by the
corresponding terms of the new pivot column:
["2:1/3 [=6]","26:7/3 [=78/7]","8:1/3 [=8]"]
And since the smallest positive quotient is 6, we have that the slack variable that exits is h.
C. The pivot element, which now needs to be made 1, is 1/3.
Since there is one negative element in the last row, -1, it means that we have not yet reached
the optimal solution. The process needs to be repeated:
A. The variable that enters the base esd, because it is the variable corresponding to the coefficient -1
B. To calculate the outgoing variable, we divide the terms of the last column by the
corresponding terms of the new pivot column:
["6/(-2) = -3","12/4 = 3","y 6:1 = 6"]
And since the smallest positive quotient is 3, we have that the slack variable that goes out is ess.
C. The pivot element, which now needs to be made 1, is 4.
We obtain the table:
Z 0 0 5/4 0 0 33
Since all the coefficients in the objective function row are positive, we have reached the solution.
optimal.
The optimal solution is given by the value of Z in the solution values column, in our
case:33. In the same column, you can observe the vertex where it is reached, observing the rows.
corresponding to the decision variables that have entered the base: D(3,12)
If in the maximization problem there were inequalities of the form: ax + by as constraints c;
multiplying them by -1 transforms them into inequalities of the form -ax - by and we are in the
previous case
If instead of maximizing it is a minimizing problem, the same process is followed, but
changing the sense of the criterion, that is, to enter the base the variable whose value is chosen,
row of the objective function, let it be the largest of the positives and the iterations are completed when all the
the coefficients of the objective function row are negative
In the first iteration(Table I)all the coefficients have remained the same, the has been calculated the
value of the objective function at vertex A(0,0), which is 0.
Next, it moves along edge AB, calculating the value of f, until it reaches B.
This step contributes to theTable II.
In this second iteration, the value corresponding to vertex B(8,0) has been calculated: Z=f(8,0) = 24
Continue along the edge BC until you reach C, where you stop and deploy the data from theTable III.
In this third iteration, the value corresponding to vertex C(6,6) has been calculated: Z=f(6,6)=30.
Continue calculating through edge CD until reaching vertex D. The data that is reflected
they are from theTable IV.
Concludes with this table, noting that it has finished (before verifying that the solution does not
improvement when moving along the edge
The maximum value of the objective function is 33, and it corresponds to x = 3 and y = 12 (vertex D).
If we calculate the value of the objective function at the vertex E(0,14), its value does not exceed 33.
You, an Industrial Engineering student, have a father named Lucas, a businessman, who is dedicated to
business producing 2 types of wooden furniture for children (desks and drawing boards)
for which it has 2 types of workers: carpentry and finishing. Currently, it has 5
woodworking operators and 14 finishing operators, each works 6 effective hours per day.
A cost analysis estimates that the profit per desk is 30 dollars and for each table 25.
dollars.
A desk requires 2 hours of carpentry and 2 hours of finishing, while a tabletop
drawing requires 1 hour of carpentry and 4 hours of finishing.
A market study indicates that there is a maximum demand of 10 desks, but the demand for
drawing boards have no limit.
Requirement
Finishing Carpentry Utility/unit
Desk 2 hrs. 2 hrs. $ 30
Drawing board 1 hour. 4 hrs. $ 25
Daily availability 30 hrs. 84 hrs.
Currently, the company produces 10 desks and 10 drawing boards.
You have just received the Operations Research course, therefore you dare to
suggest some optimization alternatives in the company. What alternatives would you recommend?
You, regarding your current Production Plan assuming that you are in the company
only with your pocket calculator?
b) What is the new utility of the company?
c) Lucas observed that his finishing workers had too much free time, so he
Request an analysis of the labor force, what is your opinion on this?
d) Is there unmet demand? What is it?
Lucas, faced with the surprising results, decides to implement the new production plan. After a while
Some weeks he observes situations where decision making is complicated for him, so
I turn to you to hire your services in order to analyze the following concerns:
e) The operators of both carpentry and finishing frequently request permits, for which
Lucas believes that production will decrease and consequently his profit as well.
How much would I stop producing and earning daily for each type of permit hour?
granted?
f) On the other hand, there are workers both in carpentry and finishing who offer to work.
overtime. Lucas wants to know what effect hiring an hour has on his current solution.
extra carpentry and an extra hour of finishing. How much would you be willing to pay as
máximo por una hora adicional de carpintería?, ¿Cuánto por una hora adicional de acabado?
g) Knowing that the extra wage of a carpenter worker is 2.5 dollars per hour and the salary
extra for a finishing worker 3 dollars, what would be the net profit per additional hour
for each type?, What would you recommend?, hiring extra hours for carpentry or finishing.
h) Lucas realizes now that by increasing overtime, his profit increases and if he grants
permissions, decreases its utility by a constant amount, so he would like to know until
how many hours of carpentry and finishing can and should be increased and up to how many hours of
Carpentry and finishing must grant permits. For this, you researched that the value in the
what increases or decreases the utility when increasing or decreasing one unit on the right side, it
remains constant as long as the optimal solution (optimal point) remains in the
intersection of the lines that generated it.
i) Concerned about the selling prices, which have recently fluctuated and affect
directly the utility per article produced, Lucas wants to find out what happens with his
optimal solution to the variation in the unit profit of each product? Within what
variation ranges for each of these coefficients, can Lucas be at ease or not
change the current production plan?
There is a new desktop model for children, which has a high demand. This model uses
1.5 hours of carpentry and 3 hours of finishing generate a profit of $35.
j) Lucas asks him to assess the feasibility of producing the new product or not. If the answer is
Yes, what should be the new production plan and the new utility for the company?
k) Lucas congratulates his son on the advice, but he would like to know why the production stopped.
old desks? And what should happen for it to be included back in the plan?
production?
In a market study, it was determined that the new desktop model has a demand
maximum daily of 10 units.
Lucas wants to know how it affects his current production plan and what his new profit would be.
maximum.
Given your constant concern for the business, since you intend to inherit it, he invented a
device to be used by carpentry workers, which allows reducing the time in the
production of each item by 10%.
m) What would be the new optimal solution to the problem?
n) Lucas realizes that the values are now in decimals and finds it difficult to carry it to the
practice, How could you help Lucas with his new concern?
o) Assuming that the company works 5 days a week and that its device has a cost of
$700, would it be worth implementing it?
Solution:
You have just received the Operations Research course, therefore you dare to suggest
some optimization alternatives in the company. What alternatives would you recommend?
regarding your current Production Plan assuming that you are only in the company
with your pocket calculator?
Maximize:
Z = 30X1 + 25X2
S.A.
2X1 + X2 <= 30 hours of carpentry
2X1+4X2<=84 finishing hours
X1 <= 10
X1, X2>=0
Regarding the production plan, I would recommend that they produce 6 desks and 18 boards to maximize.
its usefulness with the restrictions it has
Lucas noticed that his finishing workers had too much free time, so he asks them
an analysis of the workforce, what is your opinion on it?
By currently producing 10 desks and 10 boards, the finishing hour requirement would be:
2X1 + 4X2 <= 84 finishing hours
2(10)+4(10)=60 hours, leaving 24 hours free.
But with the new production plan, it would be:
2(6)+4(18)=84 hours, eliminating idle time.
With the new production plan, if there is unmet demand, 4 out of the 10 desks are not manufactured.
what the market demands.
Lucas, faced with the surprising results, decides to implement the new production plan. After a few.
Some weeks he observes situations in which decision-making is complicated for him, so he resorts to
You. To hire your services in order to analyze the following concerns:
The utility decreases by $11.67 for a missed hour of carpentry and $3.33 for an hour of
unfinished finishes
On the other hand, there are workers both in carpentry and finishing who offer to work.
overtime. Lucas wants to know what effect it has on his current solution to hire an extra hour
for carpentry and an extra hour of finishing. How much would you be willing to pay at most?
For an extra hour of carpentry?, How much for an extra hour of finishing?
You must pay a maximum of $11.67 per hour for carpentry and $3.33 per hour for finishing.
Knowing that the salary of a carpenter worker is 2.5 dollars per hour and the salary of a
finish worker 3 dollars, what would be the net gain per hour for each type?
What would you recommend, hiring extra hours for carpentry or for finishing?
The net profit per hour of carpentry would be: (11.67-2.5) =$9.17
The net profit per finishing hour would be: (3.33-3.00)=$0.33
Recomendaríacontratar horas extras de carpinteríaya que nos da mayor utilidad.
Lucas realizes now that by increasing overtime, his profit increases and if he grants
permissions, decreases its usefulness by a constant amount, so you would like to know until
how many hours of carpentry and finishing can and should increase and up to how many hours of
Carpentry and finishing must grant permissions. For this, you investigated the value in which
increases or decreases the utility by increasing or decreasing one unit on the right side, it
remains constant as long as the optimal solution (optimal point) remains at the intersection
of the lines that generated it.
In Carpentry, it can increase up to 36 (this is 6 hours) and decrease up to 21 (this is in 9 hours).
In Finishing, it can increase up to 120 (this is within 36 hours) and decrease down to 60 (this is within 24 hours).
Worried about the selling prices, which have recently varied and affect
directly the utility per produced item, Lucas wants to find out what happens with his
optimal solution in the face of the variation of the unit utility of each product? Within what
variation ranges for each of these coefficients can Lucas be calm and not
change the current production plan?
There is a new desktop model for children, which has a high demand. This model uses 1.5
hours of carpentry and 3 hours of finishing and generates a profit of $35.
Lucas asks you to evaluate the feasibility of producing the new product or not. If it is the
Yes answer, what should be the new production plan and the new utility for the
company?
A new variable must be added to the model and after solving, the following result is obtained (according to
the software WinQsb):
It is observed that total profit increases, therefore the new model should indeed be produced.
desk, and stop producing the old model. The new production plan is to produce 12 desks
of the new model and 12 boards.
Lucas congratulates his son on the consultancy, but he would like to know why the production stopped.
old desks? And what should happen for it to be included again in the plan?
production?
In a market study, it was determined that the new desktop model has a daily demand.
maximum of 10 units.
Lucas wants to know how it affects his current production plan and what his new utility would be.
maximum.
We need to add a new constraint to the model. The new solution is:
El nuevo plan de producción sería: 1 escritorio, 13 tableros y 10 escritorios para niños. La nueva
utilidad sería: $705.00
Given your constant concern for the business, since you plan to inherit it, you invented a
device to be used by woodworking operators, which allows for reducing time in the
production of each item by 10%.
3.22 desks, 11.89 boards, and 10 children's desks must be made, yielding a profit of
$743.89.
Lucas realizes that the values are now with decimals and finds it difficult to carry it to the
practice, how could you help Lucas with his new concern?
In WinQsb, we indicate that the type of variables must be non-negative integers, obtaining the
next solution:
Assuming that the company works 5 days a week and that its device costs $
700, would it be worth implementing it?
The profit without the device is $705 per day, and with the device, it is $740 per day, then the
total increase per week will be:
5*(740-705) = $135
Per month it will be:
4*135 = $540
In two months it will be:
2*540 = $1080 > $700, therefore in my opinion it would be worth implementing it.
BANK OF PROBLEMS:
1. FORMULATION OF PROBLEMS
2. SOLUTION BY THE GRAPHIC METHOD
3. SOLUTION BY THE SIMPLEX METHOD
4. SENSITIVITY ANALYSIS
5. DUAL ANALYSIS
a) The optimal solution by the graphic method. Show the respective graph.
b) The dual price of the exhausted RHS (right-hand sides).
c) The sensitivity analysis of RHS1 and RHS2.
d) The sensitivity analysis of the coefficients of the objective function.
e) How would an increase of 3 units in RHS2 affect the objective function?
f) The solution using the generalized simplex method. Show only the initial table and the
first iteration.
3.-The company XXX produces 2 items: car covers and awnings. For the next week, it has available
the following supplies:
400 man-hours
1200 meters2of linen
2700 meters2of cloth
600 machine hours
The utility of car covers is 150 soles and of awnings is 500 soles.
To produce a car cover requires 1 man-hour, 6 meters 2of linen and 1 hour-machine, and
To produce a tent, it requires 2 man-hours, 18 meters. 2of canvas and 1.5 hours-machine. There is
a minimum demand of 140 awnings.
To obtain your answers, work with all data rounded to 3 decimal places.
1) Define the decision variables of the problem.
Xi: Number of units to be produced weekly of product i
i=1(cubiertas de carro), 2(tolderas)
2) Formulate the objective function of the problem.
Max 150x1 + 500x2
3) Formulate the structural constraints of the system.
x1 + 2x2 <= 400 man-hours
6x1 <= 1200 meters2of linen
18x2 <= 2700 meters2of canvas
x1 + 1.5x2 <= 600 machine hours
X2 >= 140
Xi >= 0,i=1,2
4) Obtain the solution by the graphical method.
5) Determine the production plan that maximizes the company's profit. What is the
maximum utility?
Production plan:
X1 = 100 car covers
X2 = 150 towels
Maximum income: S/. 90,000
To answer the following questions, you can use the output from Figure 1 of the software.
Nice the output of figure 2 from the WinQsb software shown below.
6) Determine the total amount used in meters.2of linen.
6*100=600 meters2of linen
Are there idle machine hours? How many?
Yes, 275 hrs. machine
8) How many man-hours were used in the production of the awnings?
y3=S/. 11.111
Product Resource
Resource
A B available
R1 10 10 200
R2 8 4 64
R3 3 0 72
Contribution/unit $5 $5
Find the optimal solution using the simplex method. Show the iterations.
d) How much would the audience increase with an additional dollar in the budget?
e) How much would the total audience of television need to increase for it to become profitable?
your consideration in the optimal advertising mix?
f) Show the respective Dual mathematical model.
g) Show the optimal solution of the dual model (value of the decision variables and the value of the
objective function
SOLUTION:
a) Mathematical Model:
Max 31000X1 + 15000X2 + 50000X3
St
200X1 + 100X2 + 500X3 <= 1500 budget
1000X1 + 1000X2 + 3000X3 >= 9000 children
200X1 + 100X2 + 500X3 >= 1000 grandparents
X1, x2, x3 >= 0
b) What is the optimal mix of advertising? And what audience would be reached?
6 ads in the newspaper and 3 on the radio.
Total audience = 231,000 listeners.
c) How many grandparents would be reached with the newspaper.
d) How much would the audience increase with an additional dollar in the budget?
In 160 audiences.
e) How much would the total audience of television have to increase for it to become profitable?
Your consideration in the optimal mix of advertising?
In 27,000 audiences.
f) Show the corresponding Dual mathematical model.
Min 1500Y1 + 9000Y2 + 1000Y3
St
200Y1 - 1000Y2 - 200Y3 >= 31000
100Y1 - 1000Y2 - 100Y3 >= 15000
500Y1 - 300Y2 - 500Y3 >= 50000
Y1, Y2, Y3 >= 0
g) Show the optimal solution of the dual model (value of the decision variables and the value of the
objective function
Y1= 160
Y2= 1
Y3= 0
W=231000
h) Interpret the variables y1 of the dual problem.
6.-For the following mathematical model, which represents a cost minimization problem:
MIN 4X1 + 5X2
St
5X1 + 2X2 >= 120
-X1 + 3X2 <= 230
X1<=30
X2>=30
X1, X2 >= 0
Sepide:
a) The optimal solution using the graphic method.
b) The state of the RHS
c) The Dual Price of exhausted RHS.
SOLUTION
a) Respective graph.
Point X1 X2 Z
Po 12 30 198 Min
P1 0 60 300
P2 0 76.7 383.5
P3 30 86.7 553.5
P4 30 30 270
Optimal solution:
X1=12
X2=30
Z=198
PD of RHS4:
5X1+2X2=120
X2=31
Resolving:
X1= 11.6
X2=31
Z’= 201.4
PD(RHS4)=98 -201.4 = -3.4
Exit of WinQsb:
d) Sensitivity Analysis
Sensitivity Analysis of RHS1:
Max P4(30,30): 5(30)+2(30)=210
Min P7(0,30): 5(0)+2(30)=60
60 <= RHS1 = 120 <= 210
7.-A company produces three types of products: A, B, and C. The required man-hours are H1 and
H2 in departments 1 and 2 respectively for product A. One unit of B requires H3.
and H1 hours in departments 2 and 3 respectively, and a product C requires H3, H2, and H1
hours in departments 1, 2, and 3 respectively. The hourly wage is "J" in any
department. It is desired to manufacture up to a maximum of FT units for the three products; a
maximum of F1 units between products A and B and a minimum of F2 units of C. If the products
A, B y C se vende a V1, V2 y V3 cada unidad respectivamente y la disponibilidad de horas son HA,
HB and HC for departments 1, 2, and 3 respectively. Formulate a Programming Model.
Linear for this problem.
SOLUTION:
Hour requirement
A B C Availability
DEPARTMENT 1 H1 H3 HA
DEPARTMENT 2 H2 H3 H2 HB
DEPT 3 H1 H1 HC
Variables:
Xi: Number of units to be produced of product i
i=A, B, C
8.-Amanufacturing company produces three models weekly (Green, Blue, and Pink) of a certain
product. For this, it uses two types of materials (Onyx and Plaqué) of which 4000 and 6000 are available.
units, respectively. The material requirements per unit for the 3 models are given to
continuation:
Requirement per unit of the model
Materials Green Blue Pink
Onyx 2 3 5
Plated 4 2 7
The labor time required for each unit of the Green model is one man-hour, which is the
twice what each unit of the Blue model requires and 10/3 times what the Pink model requires.
The factory workforce has 700 man-hours available. The market study indicates that the
the minimum demand for the three models is 200, 200, and 150 units, respectively.
The unit profits for the Green, Blue, and Pink models are 30, 20, and 50 soles.
Output of the WinQsb software:
Using the output from the WinQsb software, address the following concerns:
a) Define the decision variables of the problem.
b) Show the respective linear programming mathematical model. (consider the following
order for the restrictions: Onix, Plaqué, Man-Hours, green demand, demand for
blue and demand for pink.
c) Determine the maximum profit of the company. How many units of each model are produced?
d) How much Onix is used in the production of the Blue model?
e) What amount of Plaqué is used in the production of the Rosado model?
f) How much should he pay at most to increase the Onix stock by 1 unit?
g) How much should be invested at most to hire 200 hours of overtime work?
h) Show the corresponding Dual mathematical model.
i) Show the optimal solution of the dual model (value of the decision variables and the value of the
objective function
j) Interpret the variables Y1, Y2, and Y3 of the dual problem.
SOLUTION:
a) Define the decision variables of the problem.
Xi: Number of units to be produced weekly of product i
i=1,2,3
b) Show the corresponding mathematical model of Linear Programming. (consider the following
order for restrictions: Onix, Plaqué, Man-Hours, green demand, demand of
blue and demand for pink).
Max30X1+20X2+50X3
ST
c) Determine the maximum profit of the company. What quantity is produced of each model?
Maximum Profit: S/. 42500
Production:
X1= 450 units of the Green model
X2=200 units of the Blue model
X3=500 units of the Pink model
d) How much Onix is used in the production of the Blue model?
3*200= 600 units
e) What amount of Plaqué is used in the production of the Rosado model?
7*500=3500 units
f) How much should he pay at most to increase Onix's inventory by 1 unit?
9.3182 soles
g) How much should be invested at most to contract 200 extra work hours?
11.3636*200=2272.72 soles
h) Show the respective Dual mathematical model.
Min 4000Y1 + 6000Y2 + 700Y3 - 200Y4 - 200Y5 - 150Y3
ST
2Y1 + 4Y2 + Y3 - Y4 ≥ 30
3Y1+2Y2+0.5Y3-Y5≥20
5Y1+7Y2+0.3Y3-Y6≥50
Yi≥0
i=1,2,3,4,5,6
i) Show the optimal solution of the dual model (value of the decision variables and the value of the
objective function
Y1=9.3182
Y2=0
Y3=11.3636
Y4=0
Y5=13.6364
Y6=0
W=42500
j) Interpret the variables Y1, Y2, and Y3 of the dual problem.
Y1: precio por unidad de Onix
Y1: price per unit of Plaqué
price per man-hour
A furniture maker has two different types of wood; he has 1500 board feet of type A and
1000 of type B, also has 800 man-hours available to carry out the work. The demand
What has been estimated is the following: at least 40 tables, 130 chairs, 30 desks and no more.
of 10 bookshelves. The quantities of wood A and B, and the man-hours required for the production
For each unit of article, they are indicated in the following table:
Solution
Decision variables:
X1: Número de mesas a producir semanalmente
X2: Number of chairs to be produced weekly
X3: Number of Desks to be produced weekly
X4: Número de Libreros a producir semanalmente
Mathematical model:
Max 12X1 + 5X2 + 15X3 + 10X4
ST
5X1 + X2 + 9X3 + 12X4 <= 1500 feet wooden table A
2X1 + 3X2 + 4X3 + X4 <= 1000 feet wooden table B
3X1 + 2X2 + 5X3 + 10X4 <= 800 man-hours
X1>=40
X2>=130
X3>=30
X4<=10
X1, X2, X3, X4 >= 0
10.-Dado el siguiente modelo matemático de programación lineal:
MIN Z = 2X1 + 3X2
ST
X1 - 3X2 <= 2
2X1 + X2 >= 11
X1 + X2 <= 8
X1, X2 >= 0
a) Show the respective graph and the evaluation table of the intersection points of the region
feasible.
Respectivegraph
Table:
Point x1 x2 Z
P1 3 5 21
P2 6,5 1,5 17.5
P3 5 1 13 Min
b) Indicate the value of the decision variables and the value of the objective function.
X1=5
X2=1
Z=13
R1:X1-3x2=2
R2:2x1+x2=11+1
PD(RHS2)= 13-14.26=-1.26
11.-An industrial company produces 5 models of Keyboards, each of which is handled in the
assembly and finishing departments. The number of man-hours of labor required,
by keyboard in each department is:
["Model1","Model2","Model3","Model4","Model5"]
Assembly 2 5 7 9 7
Finished 3 4 1 6 5
There are 10,000 man-hours available in the assembly department and 5,000 in the other one.
finished next week. The profits in dollars for each keyboard model are: 6, 3,
5, 4 and 5 respectively for keyboards 1, 2, 3, 4 and 5.
There are restrictions to produce at least 100 units of model 3, at most 150 units of
model 4 and at most 250 units of model 5. The production of models 1 and 2 is unrestricted.
a) Define the decision variables of the problem.
Xi: Number of units to be produced weekly of model i
i=1,2,3,4,5
b) Show the respective mathematical model.
Max 6X1 + 3X2 + 5X3 + 4X4 + 5X5
ST
2X1 + 5X2 + 7X3 + 9X4 + 7X5 <= 10000
3X1 + 4X2 + 1X3 + 6X4 + 5X5 <= 5000
X3 >= 100
X4<=150
X5 <= 250
Xi >= 0
c) Show the Dual model.
Primal Model:
Max 6X1 + 3X2 + 5X3 + 4X4 + 5X5
ST
2X1 + 5X2 + 7X3 + 9X4 + 7X5 <= 10000
3X1 + 4X2 + 1X3 + 6X4 + 5X5 <= 5000
-X3 <=-100
X4 <=150
X5<=250
Xi>=0
Dual Model:
Min 10000Y1 + 5000Y2 - 100Y3 + 150Y4 + 250Y5
ST
2Y1 +3Y2 greater than or equal to 6
5Y1 +4Y2 greater than or equal to 3
7Y1 +1Y2 -Y3 greater than or equal to 5
9Y1 +6Y2 +Y4 >=4
7Y1 +5Y2 +Y5 >= 5
Yi>=0
a) The optimal solution using the graphical method. Show the respective graph, the value of the
decision variables and objective function value.
b) The optimal solution using the simplex method. Show the iteration and indicate it.
value of the decision variables and the value of the objective function.
SOLUTION:
a) Graphical Solution:
13.-A company is considering seven major capital investments. Each investment can be
do it only once. These investments differ in the estimated long-term gain (present value
net) that will be generated, as well as the amount of capital required, as shown in the following table
(in millions of dollars):
Investment opportunity
1 2 3 4 5 6 7
Estimated profit 17 10 15 19 7 13 9
Required capital 43 28 34 48 17 32 23
There is $100 million available as total capital for these investments. The opportunities
Investment 1 and 2 are mutually exclusive, as are 3 and 4. Furthermore, opportunity 3 does not
It can only be taken advantage of if one of the first two opportunities is invested in. The goal is
choose the combination of capital investments that maximizes the estimated long-term profit
net present value
Formulate a binary programming model for this problem.
Solution
Xi=1 if project i is accepted, =0 otherwise
i=1,2,3,4,5,6,7
Max 17x1 + 10x2 + 15x3 + 19x4 + 7x5 + 13x6 + 9x7
St
43x1+28x2+34x3+48x4+17x5+32x6+23x7<=100
x1 + x2 <= 1
x3 + x4 <= 1
x3 - x1 <= 0
x3 - x2 <= 0
end
Xi {0,1}
14.-For the following mathematical model, which represents a cost minimization problem:
MIN Z = 4X1 + 3X2
ST
X1 + 3X2 >= 15
2X1 + X2 >= 10
X1 + X2 >= 8
X1, X2 >= 0
It is requested:
a) The respective graph and the optimal solution (value of the decision variables and value of the
objective function
Z=26
X1=2
X2=6
b) The dual price of the RHS.
PD1=0
PD2=-1
PD3=-2
15.-A factory produces 4 products: A, B, C, and D. Each unit of product A requires two hours.
of machining, one hour of assembly and is worth $10 in work-in-progress inventory. Each unit of the product
B requires one hour of machining, three hours of assembly, and has a value of $5 in work in progress.
Each unit of C requires 2 ½ hours of machining, 2 ½ hours of assembly and is worth $2.
inventory in process. Finally, each unit of product D requires five hours of
machining, does not require assembly time and is worth $12 in work in progress inventory.
The factory has 1200 hours of machining and 1600 hours of assembly. Additionally, it cannot
to have more than $10,000 in work-in-progress inventory. Each unit of product A has a
utility of $40; each unit of B, $10; each unit of C, $36, and each unit of D, $23. No
More than 200 units of A can be sold; no more than 160 of C, and any can be sold.
quantity of products B and D. However, to fulfill a contract, they must be produced and
to sell at least 100 units of product D. The factory's goal is to maximize profit.
resulting from the sale of the four products.
Answer the following questions using the output from the LINDO Software (See fig. 1)
Fig. 1
j) Show the respective mathematical model and define its respective decision variables.
MAX 40XA + 10XB + 36XC + 23XD
ST
2XA + XB + 2.5XC + 5XD <= 1200
XA + 3XB + 2.5XC <= 1600
10XA + 5XB + 2XC + 12XD <= 10000
XA<=200
XC<=160
XD>=100
Xi >= 0
Decision variable:
Xi: Number of units to be produced of product i
i=A,B,C,D
k) What is the optimal production plan?
Production Plan:
200 units of product A
120 units of product C
100 units of product D
l) What is the utility obtained from the production of product type A?
200*40=$ 8000
m) How many hours of assembly does the production of product type D consume?
None
n) How much would you be willing to pay for an extra hour of machining?
Up to 14.4 dollars
o) How many extra hours would you increase?
Up to 1100 hours.
p) How much should the unit profit of product B improve to justify its production?
In an amount greater than 4.4 dollars
What would happen to the optimal production plan if the unit profit of product C
decreases by $15?
The production plan changes
r) Indicate what the idle capital of the company is.
The idle capital is $6560
A new product, product E, is under consideration. It requires 5 hours of machining.
and 3 hours of assembly. The utility per unit is $30. Should any unit be produced of the
product E?
Opportunity cost = 14.4*5 + 0*3 = $70 > $30, therefore it should not be produced.
t) Obtain the dual model, define its decision variables, and show its optimal solution.
Mathematical model:
MIN 1200Y1 + 1600Y2 + 10000Y3 + 200Y4 + 160Y5 - 100Y6
ST
2Y1 + Y2 + 10Y4 + Y5 >= 40
Y1 + 3Y2 + 5Y3 >= 10
2.5Y1 + 2.5Y2 + 2Y3 + Y5 >= 36
5Y1 + 12Y3 - Y6 >= 23
Yi>=0
i=1,2,3,4,5,6
Decision variables:
Y1: Precio por hora de maquinado
Y2: Price per hour of assembly
Y3: Price per unit of work in progress inventory
Y4: Price per unit of demand for product A
Y5: Price per unit of demand for product C
Y6: Price per unit of demand for product D
Optimal solution:
Y1=14.4
Y2=0
Y3=0
Y4=11.2
Y5=0
Y6=49
W=$ 14620
16.-For the following mathematical model, which represents a production problem:
18.-Atelevision manufacturer produces four models:A, B, C, and [Link] B are black and white models and
C and D are color models. Each television requires a cathode ray tube, and it also requires time to
assembly and testing. Table 1 shows the assembly and testing requirements for each model, as
as the amount of time available for each operation. Additionally, due to a strike, there is a
scarcity of kinescopes and the supplier indicates that it wil not be able to provide more than 180 kinescopes
next month and, of these, at most 100 may be in color. The maximum demand for model B is
120 units and at least 10 units of modelAare required.
Table 1 Model Total
A
B C D available
Assembly time (hours) 8 10 12 15 2000
Testing time (hours) 2 2 4 5 1000
Beneficio marginal (dólares) 40 60 70 100
Using the output of the POMQM software shown above, answer the following
concerns in their answer sheet:
g) What is the optimal production program for the television manufacturer? What is the benefit?
maximum?
h) How much would you pay at most for an additional hour of setup time? What range?
Is this value valid?
i) Suppose that 100 additional hours of assembly time can be obtained at a cost of
Four dollars per hour? Should it be done? What would the net increase in benefits be?
j) Suppose a price change is instituted that modifies the marginal benefit of model C,
from 70 to 80 dollars. Would this change the optimal production plan?
k) How much would the optimal marginal benefit increase if 5 hours of testing are added?
l) Suppose that the price of model C changes from 70 to 90 dollars. In this case, would the plan change?
of production?
m) How many hours of testing are used in the production of model B?
What would happen to the optimal marginal benefit if it is required to produce at least 11 units of the
model A?
o) How many hours of assembly are used in the production of model A?
p) If I had to choose between increasing the assembly hours or color cinescopes, what
Would you decide? Why?
q) How much would the objective function increase if 20 hours of assembly are added?
r) How much would the marginal benefit of model C have to change to justify its
production?
In the previous question, what would be the new optimal benefit of the problem?
t) Obtain the dual model (write it on your answer sheet).
u) ¿Cuál sería la solución óptima del modelo dual? (indique sólo el valor de las variables y el valor
from Z).
v) What does each variable of the dual model represent?
In the primal model, suppose it is required to produce at least 5 units of model C, what
Would it be the new optimal marginal benefit?
x) Without taking the previous question into account, management wants to introduce a new color model.
(model E). Model E would only require 10 hours of assembly and 3 hours of testing. The benefit
The margin of the model would be 70 dollars. Should the new model be produced? Why?
What would be the new production plan if the E model is considered for production?
z) Taking into account the initial primal model, what would happen to the optimal marginal benefit if the
Model A only requires 4 hours of assembly?
19.-“JC” S.A. wants to spend $1500 on local advertising. The overall objective is to achieve the maximum
potential audience while reaching at least 9000 children and 1000 grandparents.
There are 3 media; their costs and the audience they have are given in the following table:
Using the output of the POMQM software shown above, answer the following.
concerns on their answer sheet:
h) What is the optimal mix of advertising? And how much audience would be reached?
i) How much would the total audience increase with an additional dollar in the budget? Why? Which
What is the range for this marginal value to be valid?
j) "JC" is concerned, as the total audience of the Radio is only approximate. About what range
Will the Radio remain in the solution for total audience?
k) How much would the total audience increase if 500 dollars were added for advertising?
l) If the total audience of the Newspaper decreased by 1000, what would be the new optimal solution for 'JC'?
Why?
m) Suppose that the audience reached by the radio increases by 700. Would this change the solution?
optimal?
n) What total audience is reached with the radio?
o) What would happen to the total audience if it is required to reach at least 9001 children? Why.
p) How many grandparents are reached in total?
q) How many grandparents can you reach just with the newspaper?
r) How much would the total audience increase if 2000 dollars of capital are added for
advertising?
s) By how much would the total audience of television have to increase for it to become profitable?
consideration in the optimal mix of advertising? Why?
In the previous question, what would be the new total audience reached?
u) Obtain the dual model (write it on your answer sheet).
v) ¿Cuál sería la solución óptima del modelo dual? (indique sólo el valor de las variables y el valor
of Z).
21.-Cauchos Peru manufactures three rubber products: Airtex (foamy material), Extendex (material
elastic) and Resistex (rigid material). The three products require the same three chemical polymers.
and a base. The amount of each ingredient used per pound of the final product is shown in the table:
Cauchos Perú is committed to producing at least 1200 pounds of Airtex, 500 pounds of
Extendex and 300 pounds of Resistex for next week, but the company management knows that
you can sell more of each of the three products. The current inventories of the ingredients
500 pounds of polymer A, 425 pounds of polymer B, 650 pounds of polymer C, and 1100 pounds of the
Base. Each pound of Airtex produces a profit of $7 for the company, each pound of Extendex a
profit of $6.5 and a profit of $6 for each pound of Resistex.
b) How much should Cauchos Perú produce of each product? How much profit would it report?
the sale of these products.
Airtex=1200 libras.
Extension = 850 pounds.
Resistex=300 pounds.
Ganancia=$ 15725
c) How much would you pay at most for an additional ounce of polymer A? What range is it in?
Is this value valid?
An amount <$3.25, range [7300 to 9033.33]
d) Indicate which resources were depleted. Are there any surpluses? How much?
Resource exhausted: Polymer A
Excedente: Extendex, 350 libras.
e) If you could obtain additional amounts of only one of the three polymers
Which one would you recommend? Explain.
Polymer A, since it is the only one with Dual Price > 0
f) The company wishes to increase its profits to $18000 by acquiring more quantity of the
polymer A How much more of polymer A is needed?
18000-15725= 2275
2275/3.25=700 ounces
g) If the demand for Airtex increases by 2%, what would happen to the company's profit?
0.02*1200=24, is within the permitted range
Then the utility decreases by $144 (24*6)
What would happen to the production plan if Extendex's profit decreases by 20%?
0.2*6.5=1.3, it is within the allowed range, THUS the Production Plan DOES NOT CHANGE
What would happen to the company's optimal profit if the commitment to produce 300 pounds?
is it falling by 10%?
0.1*300=30, it is within the allowed range, THEN the PROFIT INCREASES by $307.5
(30*10.25=307.5)