Linear Programming PDF
Linear Programming PDF
This chapter deals with the model formulation using linear programming for different
systems. Terminology of linear programming models will be presented. It, also, handles
two dimensional problems using the graphical method in order to determine the optimal
solution. Students will be introduced to identify problems with unique optima, alternate
optima, unbounded solution, and infeasible solution.
2.2.1 Equations
Equations are relations between a definite thing in the left side that is represented
mathematically in the right side and there is an equal sign (=) between them, such as
profit = number of sold units x profit per unit.
Sometimes, it becomes difficult to set an equation relation in a definite form, because one
side of the equation should be greater than or smaller than a specific value. In such case
we use the inequalities as a mathematical format to represent such cases. In equalities, the
equal (=) relationship is replaced by the greater than or equal (≥) or smaller than or equal
(≤) relations. For example:
7x + 4y ≥ 100
2x - 5y ≤ 76
x1 ≥ 0
x2 ≥ 0
x1 x1
Figure 2.1: Inequalities representation of example 1
- 4x1 + 2x2 = 60 and this represented by the straight line connecting the two points
(x1 = 0, x2 = 30) and (x1 = 15, x2 = 0).
(0, 30)
(0, 10) 5x1 + 8x2 ≥ 80
4x1 + 2x2 ≤ 60
(15, 0) (16, 0)
x1 x1
A Computers company makes quarterly decisions about their product mix. While their
full product line includes hundreds of products, two products will be considered:
notebook computers and desktop computers. The company would like to know how
many of each product to produce in order to maximizes profit for the quarter.
There are a number of limits on what the computers company can produce. The major
constraints are as follows:
1. Each computer (either notebook or desktop) requires a Processing Chip. Due to
tightness in the market, their supplier has allocated only 10,000 chips.
2. Each computer requires memory. Memory comes in 16MB chip sets. A notebook
computer has 16MB memory installed (so needs 1 chip set) while a desktop
computer has 32MB (so requires 2 chip sets). The company received a great deal
on chip sets, so it have a stock of 15,000 chip sets to use over the next quarter.
2.3.1 Modeling
The key terms of linear programming model are resources, m, and activities, n, where m
denotes the number of different kinds of resources that can be used and n denotes the
number of activities being considered. From the previous example, the m resources are
the number of ships available, the number of memory chips available, and the assembly
time limit. Typical resources are money, equipment, personnel, etc. Sample activities
include shipping goods, specific products, and investing in particular projects.
So, the general model is to select the values of x1, x2, ….., xn so as to
Maximize Z = c1x1 + c2x2 + …… + cnxn
Subject to a11x1 + a12x2 + …… + a1nxn ≤ b1
a21x1 + a22x2 + …… + a2nxn ≤ b2
.
am1x1 + am2x2 + …… + amnxn ≤ bm and
x1 ≥ 0, x2 ≥ 0, ….. xn ≥ 0 non-negativity constraint
Generally, the function being maximized is called the objective function. The first m
restrictions are called the constraints. The xj≥ 0 restrictions are non-negativity constraints.
Models are useful as they allow for a formal definition of a problem and can be useful in
thinking about a problem. For a model with only two variables, it is possible to solve the
problem by drawing the feasible region and determining how the objective is optimized
on that region. That process is illustrated here. The purpose of this exercise is to give you
intuition and understanding of linear programming models and their solution. In any real
application, you would use a computer to solve even two variable problems (Excel's
Solver is outlined in the next section to find solutions for linear programming problems).
Feasible region
Feasible region
The last equation called the slop-intercept form of the objective function, demonstrate
that the slope of the line is -3/4 (since each unit increase in x2 changes x1 by -3/4), where
the intercept of the line with the x2 axis is z/1000 (since x2 = z/1000 when x1= 0). That
fact that the slope is fixed at -3/4 means that all lines constructed in this way are parallel.
The variable values at point X represent the intersection point of the two constraints: x1 +
2x2 ≤ 15 and 4x1 + 3x2 ≤ 25.
(Optimum solution)
The final answer for the problem is always called solution, however in linear
programming, any values for the decision variables (x1, x2, …… ) that satisfies all
constraints are called a solution. So the following definitions are adopted: A feasible
solution is a solution for which all the constraints are satisfied. An infeasible solution is
a solution for which at least one constraint is violated.
In the previous example, the points (2, 3) and (1, 6) are feasible solutions, while the
points (4, 6) and (-1, 3) are infeasible solutions. The feasible region is the collection of
all feasible solutions. In the example, the feasible region is the entire shaded area as
shown in Fig. 2.6. It is possible for the problem to have no feasible solutions. This would
have happened in the example if it was required to have a net profit of at least LE 10,000
per quarter. This constraint 750x1 + 1000x2 ≥ 10000 would eliminate the entire feasible
region, so no mix of products would be able to produce this profit as shown in Fig. 2.7.
(0, 10)
(0, 8.3)
(1, 7)
(0, 7.5) optimum
Active Active
constraint Inactive constraint
Feasible
region constraint
(6.25, 0) (10, 0) (15, 0)
An optimal solution is a feasible solution that has the most favorable value of the
objective function. This value is the largest value if the objective function is to be
maximized and the smallest value if the objective function is to be minimized. Most
problems will have just one optimal solution. However, it is possible to have more than
one optimal solution. Also, it is possible that a problem has no optimal solution; this
happens if the problem has no feasible region or the constraints do not prevent improving
the value of the objective function.
A corner-point feasible (CPF) solution is a solution that lies at a corner of the feasible
region. As shown in Figure 2.6, a linear programming problem with feasible solution
An active constraint is the constraint that share in forming the feasible region, while an
in-active constraint is the constraint that doesn’t share in forming the feasible region. In
the previous example, the following constraints are represents the set of active
constraints: x1 + 2 x2 ≤ 15; 4x1 + 3x2 ≤ 25; x1 ≥ 0 and x2 ≥ 0, while the x1 + x2 ≤ 10 is an
in-active constraint (these are shown in Fig. 2.6).
Rather than the somewhat tedious and error-prone graphical method (which is limited to
two variables), special computer programs can be used to find solutions to linear
programming models. The most widespread program is Solver, included in all recent
versions of the Excel spreadsheet program. Solver, while not a state of the art code is a
reasonably robust, easy-to-use tool for linear programming. Solver uses standard
spreadsheets together with an interface to define variables, objective, and constraints to
define a linear program. Excel Solver add-in optimizes linear and integer problems using
the simplex and branch and bound methods. It searches for the proper values of model
variables that minimize or maximize a target cell (objective function), under a set of user-
specified constraints. The following is a brief outline and hints for using solver:
- Start with entering the data into spreadsheet in some reasonably way.
- Create the model in a separate part of the worksheet. Each variable is described in
one cell. Solver will eventually put the optimal values in each cell.
- The objective is represented by a single cell. The formula that represents the
objective function will be entered in a linear form. The problem modeling of the
previous example in a spreadsheet is shown in Fig. 2.8.
- We then have a cell to represent the left hand side of each constraint (again a
linear function) and another cell to represent the right hand side (a constant).
Target cell
(objective)
- We then select Solver under the Data menu (Excel 2007). This gives a form to
define the linear program. If solver is not available in your Excel program, you
may add it using “Excel Options” then “Add-Ins”.
- In the “Set Target Cell" box, select the objective cell and then choose “Max” for
maximization or “Min” for minimization option buttons or you may set the
objective to a specific value by choosing “value of” option button (Fig. 2.9).
- In the “By Changing Cells", put in the range containing the variable cells.
- Next, add the constraints by pressing the “Add" button. The dialog box for adding
constraints appears (Fig. 2.10) and it has three parts for the left hand side, the type
of constraint, and the right hand side. Put the cell references for a constraint in the
form, choose the right type, and press “Add". Continue until all constraints are
added including the non-negativity; press “OK" after final constraint (Fig. 2.9).
- Push the options button and toggle the “Assume Linear Model" in the resulting
dialog box. This tells Excel to call a linear rather than a nonlinear programming
routine so as to solve the problem more efficiently (Fig. 2.9).
- Push the Solve button. In the resulting dialog box, select “Answer" and
“Sensitivity". This will put the answer and sensitivity analysis in two new sheets.
Ask Excel to “Keep Solver values", and your worksheet will be updated with
optimal values are in variable cells. The complete solution of the problem along
with the sensitivity analysis report is shown in Fig. 2.11.
A marketing company is planning a one week advertising campaign for their new knife.
The ads have been designed and produced and now they wish to determine how much
money to spend in each advertising outlet. They have hundreds of possible outlets to
choose from. Let’s consider two outlets: Prime-time TV, and newsmagazines. The
problem of optimally spending advertising money can be formulated in many ways. For
instance, given a fixed budget, the goal might be to maximize the number of target
customers reached (customer with a reasonable chance of purchasing the product). An
alternative approach, which we adopt here, is to define targets for reaching each market
segment and to minimize the money spent to reach those targets. For this product, the
target segments are teenage boys, women (ages 40-49), and retired men. Each minute of
primetime TV and page of newsmagazine advertisement reaches the following number of
people (in millions):
Again, the marketing company is willing to know how many units of each outlet to
purchase to meet the goals.
2.4.1 Modeling
The process of modeling using linear programming is fairly consistent: define the
decision variables, objective, and constraints.
Decision Variables: In this case, they are the number of units of each outlet to purchase.
Let x1 be the number of TV spots, and x2 the number of magazine pages.
Since this model has only two variables, we can solve the problem in two ways:
graphically and using SOLVER. We start by solving this graphically. The first step is to
graph the feasible region, as given in Fig. 2.12. The next step is to plot the objective
function line on the diagram: lines representing points that have the same cost. We mark
the optimal point with an X (Fig. 2.13). X is the intersection of the two constraints: 5x1 +
2x2 = 24 and 3x1 + 3x2 = 24. Solving these to equations together, the optimal solution is
determined to be as follows: x1 = 2.67 and x2 = 5.33
The problem formulation on Excel is shown in Fig. 2.14, while the Solver setting is
shown in Fig. 2.15. The complete report of the problem solution is shown in Fig. 2.16.
Whenever a linear programming model is formulated and solved, the result will be one of
four characteristic solution types: 1) unique optimal solution, 2) alternate optimal
solutions, 3) no-feasible solution, and 4) unbounded solutions. The following example
illustrates these different situations.
Illustrative example
A small company produces construction materials for the commercial and residential
construction industry. The company produces two products: a universal concrete patching
product (CON) and a decorative brick mortar (MORT). The company can sell the CON
for a profit of LE 140/ton and the MORT for a profit of LE 160/ton. Each ton of the CON
requires 2 m3 of the red clay and each ton produced of the MORT requires 4 m 3. A
maximum of 28 m3 of the red clay could be available every week. The machine used to
blend these products can work only a maximum of 50 hours per week. This machine
blends a ton of either product at a time, and the blending process requires 5 hours to
complete. Each material must be stored in a separate curing vat, thus limiting the overall
production volume of each product. The curing vats for CON and MORT have capacities
of 8 and 6 tons, respectively. What is optimal production strategy for the company given
this information?
We have constraints for the red clay material, the blending time, and for the curing vat
capacity. This gives the following formulation:
The above illustrative example is solved graphically by plotting the feasible region in the
decision space as shown in Fig. 2.17 and then plotting the objective function on the same
graph. Then, shifting the objective function line in the direction of improvement until it
last intersected the feasible region (Fig. 2.17). In this case, the intersection between the
feasible region and the set points satisfying the equation: 1480 = 140x1 + 160x2, which
consisted of a single point x1 = 6 and x2 = 4. This point is the only point on this line that
satisfies all constraint equations simultaneously. Consequently, the optimal solution to
the linear program is unique one; the problem is said to have unique optimal solution.
As shown above, the slope of the objective function is determined by the coefficients that
multiply the decision variables. For example, if the coefficient of x2 in the original
objective functions is decreased to the coefficient of x1. The slope of the objective
5x1 + 5x2 ≤ 50 x1 ≤ 8
x2 ≤ 6
Feasible region
2x1 + 4x2 ≤ 28
Figure 2.17: Graphical solution of the illustrative example with unique optimal solution
Now, resolve the problem graphically as shown in Fig. 2.18. The intersection of the
objective function line and the feasible region at optimality becomes a line segment (Fig.
2.18) and all points on the line connecting the points (6, 4) and (8, 2) give the same value
of the objective function and satisfy the equation 1400 = 140x1 + 140x2. This problem
thus has an infinite number of optimal solutions, or is said to have alternate optima.
(6, 4)
Line segment of alternate optima
Feasible region (8, 2)
It is possible that there are no feasible solution for a given problem formulation. This may
occur when constraints conflict with one another. Or it may occur due to errors in
entering problem formulation to a solver. Thus means that there is no specific solution
that satisfies all constraints together. Assume the following set of constraints:
5x1 + 5x2 ≤ 50
x1 ≥8
x2 ≥6
Figure 2.19 shows three constraints plotted in decision space in such a way that there is
no feasible region formed; the problem is said to be infeasible.
The infeasible solution results from problems that are over constrained. In the current
case, we may encounter a situation where the problem is under constrained. Consider the
following set of constraints:
5x1 + 5x2 ≥ 50
x1 ≤8
x1 ≥6
5x1 + 5x2 ≥ 50
Unbounded feasible region
x1 ≥ 6
x1 ≤ 8
Hidden in our models of these problems are a number of assumptions. The usefulness of
a model is directly related to how close reality matches up with these assumptions. The
first assumption is due to the linear form of our functions. Since the objective is linear,
the contribution to the objective of any decision variable is proportional to the value of
the decision variable. Producing twice as much of a product produces twice as much
profit; buying twice as many pages of ads costs twice as much. This is the
Proportionality Assumption.
The final assumption is the Certainty Assumption: linear programming allows for no
uncertainty about the numbers. An ad will reach the given number of people; the number
of assembly hours we give will certainly be available. It is very rare that a problem will
meet all of the assumptions exactly. That does not negate the usefulness of a model. A
model can still give useful managerial insight even if reality differs slightly from the
rigorous requirements of the model. For instance, the knowledge that our chip inventory
is more than sufficient holds in our first model even if the proportionality assumptions are
not satisfied completely.
Linear programming models are found in almost every field of business. The next sub-
sections show a number of problems and how to model them by the appropriate choice of
decision variables, objective, and constraints.
Problem Definition
What is the perfect diet? An ideal diet would meet or exceed basic nutritional
requirements, be inexpensive, have variety, and be “pleasing to the palate". How can we
find such a diet? Suppose the available foods are as follows:
After consulting with nutritionists, we decree that a satisfactory diet has at least 2000 kcal
of energy, 55 g of protein, and 800 mg of calcium. While some of us would be happy to
live on 10 servings of beans, we have decided to impose variety by having a limit on the
number of servings/day for each of our six foods. What is the least cost satisfactory diet?
Problem Modeling
First we decide on decision variables. Let us label the foods 1, 2, … 6, and let xi represent
the number of servings of food i in the diet. Our objective is to minimize cost, which can
be written as: 3x1 + 24x2 + 13x3 + 9x4 + 20x5 + 19x6. We have constraints for energy,
protein, calcium, and for each serving/day limit. This gives the formulation:
Problem Definition
Consider a restaurant that is open seven days a week. Based on past experience, the
number of workers needed on a particular day is given as follows:
Every worker works five consecutive days, and then takes two days off, repeating this
pattern. How can we minimize the number of workers that staff the restaurant?
Model
A first attempt at this problem is to let xi be the number of people working on day i. Note
that such a variable definition does not match up with what we need. Some workers will
work both Monday and Tuesday, some only one day, some neither of those days. Instead,
let the days be numbered 1 through 7 and let xi be the number of workers who begin their
five day shift on day i. Our objective is clearly minimize: x1 + x2 + x3 + x4 + x5 + x6 + x7
Consider the constraint for Monday's staffing is 14. Who works on Mondays? Clearly
those who start their shift on Monday (x1). Those who start on Tuesday (x2) do not work
on Monday, nor do those who start on Wednesday (x3). Those who start on Thursday (x4)
do work on Monday, as do those who start on Friday, Saturday, and Sunday. This gives
the constraint: x1 + x4 + x5 + x6 + x7 ≥ 14. Similar arguments give a total formulation of:
Minimize x1 + x2 + x3 + x4 + x5 + x6 + x7
Subject to x1 + x4 + x5 + x6 + x7 ≥ 14
x1 + x2 + x5 + x6 + x7 ≥ 13
x1 + x2 + x3 + x6 + x7 ≥ 15
x1 + x2 + x3 + x4 + x7 ≥ 16
x1 + x2 + x3 + x4 + x5 ≥ 19
x2 + x3 + x4 + x5 + x6 ≥ 18
x3 + x4 + x5 + x6 + x7 ≥ 11
xi ≥ 0 (for all i)
Problem Definition
The optimality of a portfolio depends heavily on the model used for defining risk and
other aspects of financial instruments. Here is a particularly simple model that is
amenable to linear programming techniques. Consider a mortgage team with LE
100,000,000 to finance various investments. There are five categories of loans, each with
an associated return and risk (1-10; 1 best):
Any non-invested money goes into a savings account with no risk and 3% return. The
goal for the mortgage team is to allocate the money to the categories so as to:
Maximize the average return per dollar.
Have an average risk of no more than 5 (risks taken over the invested money
not over the saved money).
Invest at least 20% in commercial loans.
The amount in second mortgages and personal loans combined should be no
higher than the amount in first mortgages.
Model
Let the investments be numbered 1…..5, and let xi be the amount invested in investment
i. Let x6 be the amount in the savings account.
2.8.1 Example 1
A city public works department is planning for a new water supply project. Water
from a nearby aquifer is available in adequate supply, but its hardness level is too
high unless it is blended with a lower hardness source. The total-kilograms of
hardness per million cubic meters are limited to 1200 in the final blended supply.
Water from a distant stream is of sufficient quality, but the cost to pump it is quite
high. The city is planning to get the water from three sources: the current supply;
the aquifer; and the distant stream. The costs to get water (LE) per million cubic (m
m3) meters and the hardness in kilogram per m m3 are given below.
A total of 150 million cubic meter of water is needed per day by the end of ten
years. Formulate a mathematical model to determine the least-cost strategy for
supplying water while ensuring that the water supply remains of acceptable quality.
Solution
2.8.2 Example 2
You have been hired to plan a new subdivision development. You are trying to
evaluate two options: 200 m2 or 240 m2 homes. Each 200 m2 home will cost LE
6,000 and make profit of LE 15,000. Also, each 240 m2 home will cost LE 9,000
and make profit of LE 18,000. The available fund for the new subdivision
development is LE 450,000. Also, at least one-third of the total number of houses
should be of the 240 m2 type. Define the decision variables and formulate a linear
program model to maximize the profit. Solve using the graphical method.
Solution
The variables are the number of 200-m2 and 240-m2 homes to be built.
x1 = number of 200-m2 homes.
x2 = number of 240-m2 homes.
Cost of 200-m2 home = LE 6,000
2
Cost of 240-m home = LE 9,000
Profit produced from each 200-m2 home = LE 15,000
As shown in the following figure, the number of 200-m2 homes is 43 homes, while the
number of 240-m2 home is 21 homes, which satisfies a maximum profit of LE 1,029,399.
Optimum solution
(43.13, 21.24) -0.33x1 + 0.67x2 ≥ 0
Feasible region
2.8.3 Example 3
Solution
First, set the model
in Excel spreadsheet
program as follow:
You have been hired to plan a new subdivision development. A manufacturing firm
produces widgets and distributes them to five wholesalers at a fixed delivered price of
LE 2.50 per unit. Sales forecasts indicate that monthly deliveries will be 2700, 2700,
9000, 4500 and 3600 widgets to wholesalers 1-5 respectively. The monthly
production capacities are 4500, 9000 and 11,250 at plants 1, 2 and 3, respectively.
The direct costs of producing each widget are LE 2 at plant 1, LE 1 at plant 2 and LE
1.80 at plant 3. The transport cost of shipping a widget from a plant to a wholesaler is
given below.
Wholesaler 1 2 3 4 5
Plant 1 0.05 0.07 0.11 0.15 0.16
Plant 2 0.08 0.06 0.10 0.12 0.15
Plant 3 0.10 0.09 0.09 0.10 0.16
Formulate a linear Programming model for this production and distribution problem.
Solution
Cost of production of widgets from plant 1 = LE 2/unit
Cost of production of widgets from plant 2 = LE 1/unit
Cost of production of widgets from plant 3 = LE 1.8/unit
Monthly production capacity from plant 1 = 4500 units
Monthly production capacity from plant 2 = 9000 units
Monthly production capacity from plant 3 = 11250 units
Monthly delivery to wholesaler 1 = 2700 units
The objective is to determine the number of units produced and shipped from plant i
to wholesaler j so that the cost of producing and shipping are minimized, cost
Min cost = (p1+c11)x11 + (p1+c12)x12 + (p1+c13)x13 + (p1+c14)x14 + (p1+c15)x15 +
(p2+c21) x21 +…………………
or min cost = ∑∑( pi + cij)xij, i=1, 2, 3 and j=1, 2, 3, 4, 5
2.8.5 Example 5
Solution
Total quantity of material needed = 1000 m3
Minimum quantity of gravel in the mix = 0.20 x 1000 = 200 m3
Maximum quantity of gravel in the mix = 0.30 x 1000 = 300 m3
Let the variables be as follows:
x1 : Quantity of material from in situ
x2 : Quantity of material from outside
0.4x1 ≥ 200
1200
0.4x1 ≤ 300
x1, x2 ≥0 1000
800
Optimum solution:
- x1 = 750 600
The graphical solution of Example 6 shows that it has alternate optimal solutions which
lie on the line segment between points B (1, 2) and C (1.25, 1.5) with the objective
function equals 16 (optimal solution). It is noted that in this problem, if the objective
function is to be maximized, then the problem in this case is said to be unbounded as the
objective function line will move upward with no constraint to limit its movement.
1. A plant produces two types of refrigerators, A and B. There are two production
lines, one dedicated to producing refrigerators of Type A, the other to producing
refrigerators of Type B. The capacity of the production line for A is 60 units per
day; the capacity of the production line for B is 50 units per day. A requires 20
minutes of labor whereas B requires 40 minutes of labor. Presently, there is a
maximum of 40 hours of labor per day which can be assigned to either production
line. Profit contributions are LE 20 per Type A produced and LE 30 per Type B
produced. What should the daily production be? Solve graphically and by Solver.
The profit on a detached house and semidetached house is LE 1000 and LE 800
respectively. The builder has the capacity to build 400 houses per year. However,
an estate of housing is not allowed to contain more than 75% of the total housing
as detached. Furthermore, because of the limited supply of bricks available for
type B design, a 200-house limit with this design is imposed. Develop a
mathematical model for this problem to determine how many detached and
semidetached houses should be constructed in order to maximize profit.
4. A contractor may purchase material from two different sand and gravel pits. The
unit cost of material including delivery from pits 1 and 2 is LE 50 and LE 70 per
cubic meter, respectively, the contractor requires at least 100 cubic meter of mix.
The mix must contain a minimum of 30% sand. Pit 1 contains 25% and pit 2
contains 50% sand. If the objective is to minimize the cost of material, define the
decision variables and formulate a mathematical model.
- Draw the feasible region
- Determine the optimum solution by the graphical method
- Label the active and inactive constraints
- Use Solver to model and solve this problem
5. As the director of waste management, you are trying to plan next year’s
operations for the disposal of solid waste. You have three options for disposal:
There are 300,000 people living in the county with an average of 2.75 kg per
capita per day of solid waste. Several constraints are applied to the problem:
Formulate a linear program model to produce an optimal plan for solid waste
management.
The bank hires two types of tellers. Full-time tellers work 9-5 five days a week,
except for 1 hour off for lunch, either between noon and 1 pm or between 1 pm
and 2 pm. Full-time tellers are paid LE 25/hour (this includes payment for lunch
hour). The bank may also hire up to 3 part-time tellers. Each part-time teller must
work exactly 4 consecutive hours each day. A part-time teller is paid LE 20/hour.
Formulate a linear program to meet the teller requirements at minimum cost.
8. A manufacturer produces two types of timber frame housing packages (type 1 and
2). The operations are highly mechanized and the estimated average time required
from each machine for the manufacturing of each package is given below:
Machines
Package
A B C
Type 1 10 10 40
Type 2 30 60 20
11. Pharma produces two chemicals: A and B. These chemicals are produced via two
manufacturing processes. Process 1 requires 2 hours of labor and 1 lb. of raw
material to produce 2 oz. of A and 1 oz. of B. Process 2 requires 3 hours of labor
and 2 lb. of raw material to produce 3 oz. of A and 2 oz. of B. Sixty hours of labor
and 40 lb. of raw material are available. Chemical A sells for LE 16 per oz. and B
12. There are two suppliers of pipes with their information as shown below in the
table:
At least 900 meters of pipe is required. The goal is to minimize the total cost of
pipe.
a. Find the optimum solution.
b. Formulate a mathematical model with the supply of pipe from source No. 2
limited to 700 meters.
c. Does a solution to part b exist? Use the graph to prove your answer.
14. Solve the following problem using the graphical method. Compute the value of
the objective function and decision variables at optimality, and indicate which
statement best describes the solution: 1) this linear program has a unique optimnal
solution, 2) this linear program has alternate optima, 3) this linear program is
infeasible, or 4) this linear program is unbounded.
15. Solve the following problem using the graphical method. Compute the value of
the objective function and decision variables at optimality, and indicate which
statement best describes the solution: 1) this linear program has a unique optimnal
solution, 2) this linear program has alternate optima, 3) this linear program is
infeasible, or 4) this linear program is unbounded.
Minimize z = 10x1 + 4x2
Subject to 5x1 – 6x2 ≤ 30
5x1 +2x2 ≥ 30
x1 ≥5
x2 ≥ 2.5
x1, x2 ≥0
16. Solve the following problem using the graphical method. Compute the value of
the objective function and decision variables at optimality, and indicate which
statement best describes the solution: 1) this linear program has a unique optimnal
solution, 2) this linear program has alternate optima, 3) this linear program is
infeasible, or 4) this linear program is unbounded.
Maximize z = 24x1 + 20x2
Subject to x1 - x2 ≥ -4
3x1 - 2x2 ≤6
x1 + x2 ≥5
6x1 + 5x2 ≤ 10
x2 ≤6
x1, x2 ≥0
If the company has been offered the chance to hire an extra machine, thereby
doubling the effective assembly time available; what is the maximum amount you
would be prepared to pay (per week) for the hire of this machine and why?