0% found this document useful (0 votes)
46 views

Class 3 - LP Introduction&Graphical Solution

The document provides an introduction to linear programming (LP), including its use in resource allocation problems and the key components of an LP model. It discusses the three steps to developing an LP problem: formulation, solution, and interpretation. An example problem is presented for Flair Furniture Company to determine the optimal product mix of tables and chairs to maximize profit, given constraints on available carpentry and painting hours. The problem is formulated as an LP model with an objective function and constraints, and its graphical solution identifies the optimal solution at a corner point of the feasible region.

Uploaded by

Study Buddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Class 3 - LP Introduction&Graphical Solution

The document provides an introduction to linear programming (LP), including its use in resource allocation problems and the key components of an LP model. It discusses the three steps to developing an LP problem: formulation, solution, and interpretation. An example problem is presented for Flair Furniture Company to determine the optimal product mix of tables and chairs to maximize profit, given constraints on available carpentry and painting hours. The problem is formulated as an LP model with an objective function and constraints, and its graphical solution identifies the optimal solution at a corner point of the feasible region.

Uploaded by

Study Buddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

MGSC 1205

Quantitative Methods I

Slides Three – LP I: Introduction &


Graphical Solution Method

Ammar Sarhan
Linear Programming – Introduction

ƒ Management decisions in many organizations involve


trying to make most effective use of resources.
• Machinery, labor, money, time, warehouse space, and raw
materials. These resources can be used to:
→Produce products – such as computers, automobiles, or
clothing, … etc.
→Provide services – such as package delivery, health services,
or investment decisions.
ƒ To solve problems of resource allocation one may
use mathematical programming.
Mathematical Programming & LP

ƒ Programming refers to setting up and


solving a problem mathematically.
ƒ Linear programming (LP) is most common
type of mathematical programming.
ƒ One assumes all relevant input data and
parameters are known with certainty in
models (deterministic models).
ƒ Computers play important in LP.
Properties of a LP Model
ƒ All problems seek to maximize or minimize some
quantity, usually profit or cost (called objective
function).
ƒ LP models usually include restrictions, or constraints,
limit degree to which one can pursue our objective.
LP model usually includes a set of non-negativity
constraints.
ƒ There must be alternative courses of action from
which to choose.
ƒ Objective and constraints in LP problems must be
expressed in terms of linear equations or inequalities.
Linear Equations and Inequalities

ƒ This is a linear equation:


2A + 5B = 10

ƒ This equation is not linear:


2A2 + 5B3 + 3AB = 10

ƒ LP uses, in many cases, inequalities like:


A+B≤C or A + B ≥ C

An inequality has a ≤ or ≥ sign.


Three Steps of Developing LP Problem

Formulation.
ƒ Process of translating problem scenario into LP model
framework with set of mathematical relationships.
Solution.
ƒ Mathematical relationships resulting from the formulation
process are solved to identify an optimal solution.
Interpretation and Sensitivity Analysis.
ƒ Problem solver or analyst works with manager to:
• Interpret results and implications of problem solution.
• Investigate changes in input parameters and model
variables and impact on problem solution results.
Formulating a LP Problem

ƒ A common LP application is a product mix problem.


• Two or more products are usually produced using
limited resources – such as personnel, machines, raw
materials, and so on.
ƒ Profit firm seeks to maximize is based on profit
contribution per unit of each product.
ƒ Firm would like to determine
• How many units of each product it should produce.
• Maximize overall profit given its limited resources.
Example: Flair Furniture Company
Company Data and Constraints:
ƒ Flair Furniture Company produces tables and chairs.
ƒ Each table sold results in $7 profit, while each chair produced
yields $5 profit.
ƒ Each table requires: 4 hours of carpentry and 2 hours of painting.
ƒ Each chair requires: 3 hours of carpentry and 1 hour of painting.
ƒ Available production capacity: 240 hours of carpentry time and 100
hours of painting time.
ƒ Due to existing inventory of chairs, Flair is to make no more than
60 new chairs.
Flair Furniture’s problem:
ƒ Determine best possible combination of tables and chairs to
manufacture in order to attain maximum profit.
Decision Variables

ƒ The decision variables are the elements under control


of the model developer and their values determine the
solution of the model.
ƒ Problem facing Flair is to determine how many chairs
and tables to produce to yield maximum profit?
ƒ In Flair Furniture problem, there are two unknown
variables.
Objective Function

ƒ Objective function states goal of problem


• What major objective is to be solved?
• Maximize profit!
ƒ A LP model must have a single objective function.

In Flair’s problem, total profit may be expressed as:

Profit = ($7 profit per table) × T + ($5 profit per chair) × C


= 7 T + 5 C,
where,
T is # tables produced and C is the # chairs produced.
T and C are the decision variables.
Constraints

ƒ Denote conditions that prevent one from selecting


any specific subjective value for decision variables.

¾ There are 240 carpentry hours available.


¾ There are 100 painting hours available.
¾ The marketing specified chairs limit constraint.
¾ The non-negativity constraints.
Constraints

ƒ In Flair Furniture’s problem, there are four


restrictions on solution:
¾Restrictions 1 and 2 have to do with available
carpentry and painting times, respectively.
¾Restriction 3 is concerned with upper limit on
number of chairs.
¾A sign restriction is associated with each variable.
For any variable, the sign restriction specifies that
the variable must be non-negative.
Basic Assumptions of a LP Model

ƒ Conditions of certainty exist.


ƒ Proportionality in objective function and constraints
(1 unit → 3 hours, 3 units → 9 hours).
ƒ Additively (total of all activities equals sum of
individual activities).
ƒ Divisibility assumption that solutions need not
necessarily be in whole numbers (integers).
The completed formulation

ƒ Maximize: P=7T+5C
ƒ Subject to (constraints)
¾Carpentry restriction: 4 T + 3 C ≤ 240
¾Painting restriction: 2 T + C ≤ 100
¾Inventory condition: C ≤ 60
¾Non-negativity condition: T ≥ 0, C≥ 0
Graphical Solution
1) Carpentry Constraint
4 T + 3 C ≤ 240
T = 0, C = 80
100

80

C 60

40 Ca
rp
en
tr yC T = 60, C = 0
on
20 str
ai nt
0
0 20 40 60 80
T
Graphical Solution
2) Painting Constraint
2 T + C ≤ 100
T = 0, C = 100
100
Pa
80 in
tin
g Co
ns
tra
C 60 in
t

40
T = 50, C = 0
20

0
0 20 40 60 80
T
Graphical Solution
3) Inventory Constraint
C ≤ 60

100

80

Inventory Constraint
C 60

40

20

0
0 20 40 60 80
T
Graphical Solution
Feasible Region – Satisfies all constraints

100 Pa
in
tin
gC
80 on
str
ain
(0, 60) t Inventory Constraint
C 60
(15, 60)
(30, 40)
40 Ca
rp
Feasible en
tr yC
20 Region on
str
ai nt
0
(0, 0)
0 20 40 (50, 0) 60 80
T
Graphical Solution
ƒ Optimal solution is the point in
the feasible region that produces
100 highest profit
ƒ There are many possible solution
80 points in the region.
ƒ Which one is the best?
C 60 ƒ The one yielding highest profit?

40
Feasible
20 Region

0
0 20 40 60 80
T
Graphical Solution

ƒ We can prove that the optimal solution always


exists at the intersection of constraints (corner
points).
• Known as Corner Point Property.
ƒ Why not just go directly to the places where the
corner points?
Corner Point Solution Method

100 ƒ Point 1 (T = 0, C = 0)

80 ƒ Point 2 (T = 0, C = 60)

2 3
C 60 ƒ Point 3 (T = 15, C = 60)

4
40 ƒ Point 4 (T = 30, C = 40)
Feasible
20 Region ƒ Point 5 (T = 50, C = 0)

0 5
1 0 20 40 60 80
T
Graphical Solution Procedure

100 ƒ Point 1 (T = 0, C = 0)
Pa
in profit = $7(0) + $5(0) = $0
tin
gC
80 on ƒ Point 2 (T = 0, C = 60)
str
a Chairs limit constraint profit = $7(0) + $5(60) = $300
2 3
in
t
C 60 ƒ Point 3 (T = 15, C = 60)
profit = $7(15) + $5(60) = $405
4
40 Ca ƒ Point 4 (T = 30, C = 40)
rp
Feasible en profit = $7(30) + $5(40) = $410
tr yC
20 Region on ƒ Point 5 (T = 50, C = 0)
str
ai nt
5 profit = $7(50) + $5(0) = $350
0
1 0 20 40 60 80
T
Example 2
DVD 2 hours electronics work
4 hours assembly time
MP3 3 hours electronics work
1 hours assembly time

ƒ Hours available: 3000 (elect), 2000 (assembly time)


ƒ Profit / unit: DVD $8, MP3 $10

D = number of DVD players to make


M = number of mp3 players to make
Example

DVD 2 hours electronics work


1 hours assembly time
MP3 3 hours electronics work
2 hours assembly time

ƒ Hours available: 3000 (elect) 2500 (assembly time)


ƒ Profit / unit: DVD $8, MP3 $10

D = number of DVD players to make


M = number of mp3 players to make
Example: Holiday Meal Turkey Ranch
ƒ Buy two brands of feed for good, low-cost diet for turkeys.
ƒ Each feed may contain three nutritional ingredients (protein, vitamin,
and iron).
9 One pound of Brand A contains: 9One pound of Brand B contains:
9 5 ounces of protein, 910 ounces of protein,
9 4 ounces of vitamin, and 93 ounces of vitamins, and
9 0.5 ounces of iron. 90 ounces of iron.

9 Minimum monthly requirement per turkey (OZ):


Protein: 90, Vitamin: 48, Iron: 1.5

9 Brand A feed costs ranch $0.02 per pound, while Brand B feed costs
$0.03 per pound.
ƒ Ranch owner would like lowest-cost diet that meets minimum
monthly intake requirements for each nutritional ingredient.
Example - Fall 2009
Example - Fall 2009

You might also like