Sei sulla pagina 1di 74

Module Title: Quantitative Methods and Statistics

Session 1
Linear Programming for Quantitative Decision Making

1
Faculty of Management and Commerce
Session Topics
▪ The Management Science Approach to Problem Solving
▪ Model Building: Break-Even Analysis
▪ Computer Solution
▪ Management Science Modeling Techniques
▪ Business Usage of Management Science Techniques
▪ Management Science Models in Decision Support Systems

2
Faculty of Management and Commerce
Session Topics Continued

◼ Model Formulation
◼ A Maximization Model Example
◼ Graphical Solutions of Linear Programming Models
◼ A Minimization Model Example
◼ Irregular Types of Linear Programming Models
◼ Characteristics of Linear Programming Problems

3
Faculty of Management and Commerce
Introduction to Operations Research
Operations research/management science is defined as:
‘A scientific approach to decision making, which seeks to determine
how best to design and operate a system, usually under conditions
requiring the allocation of scarce resources.’ - Winston
‘A scientific method of providing executive departments with a
quantitative basis for decisions regarding the operations under their
control.’ - Kimball & Morse

4
Faculty of Management and Commerce
The Management Science Approach

• Management science uses a scientific approach to solving


management problems
• Used in a variety of organizations to solve many different types
of problems
• Encompasses a logical mathematical approach to problem
solving
• Management science, also known as operations research,
quantitative methods, etc., involves a philosophy of problem
solving in a logical manner

5
Faculty of Management and Commerce
The Management Science Process

Figure : The Management Science Process


6
Faculty of Management and Commerce
Steps in the Management Science Process
▪ Observation - Identification of a problem that exists (or may
occur soon) in a system or organization
▪ Definition of the Problem - problem must be clearly and
consistently defined, showing its boundaries and interactions
with the objectives of the organization
▪ Model Construction - Development of the functional
mathematical relationships that describe the decision variables,
objective function and constraints of the problem
▪ Model Solution - Models solved using management science
techniques
▪ Model Implementation - Actual use of the model or its solution

7
Faculty of Management and Commerce
Example of Model Construction (1 of 3)
Consider a business firm that makes and sells a product. The product costs ₹ 5 to
produce and sells for ₹ 20. Assume that the product is made from steel and that the
business firm has 100 pounds of steel available. If it takes 4 pounds of steel to make
each unit of the product, develop a model that computes the total profit that will
accrue from the items.
Information and Data:
▪ Business firm makes and sells a steel product
▪ Product costs Rs.5 to produce
▪ Product sells for Rs.20
▪ Product requires 4 pounds of steel to make
▪ Firm has 100 pounds of steel
Business Problem:
▪ Determine the number of units to produce to make the most profit, given the
limited amount of steel available

8
Faculty of Management and Commerce
Example of Model Construction (2 of 3)

Variables: x = # units to produce (decision variable)


Z = total profit (in Rs.)
Model: Z = 20x – 5x (objective function)
4x = 100 lb of steel (resource constraint)
Parameters: Rs.20, Rs.5, 4 lbs, 100 lbs (known values)
Formal Specification of Model:
maximize Z =20x – 5x
subject to 4x = 100
9
Faculty of Management and Commerce
Example of Model Construction (3 of 3)
Model Solution:
Solve the constraint equation:
4x = 100
(4x)/4 = (100)/4
x = 25 units
Substitute this value into the profit function:
Z = 20x – 5x
= (20)(25) – (5)(25)
= 375
(Produce 25 units, to yield a profit of Rs.375)

10
Faculty of Management and Commerce
Model Building: Break-Even Analysis (1 of 9)

■ Used to determine the number of units of a product to


sell or produce that will equate total revenue with
total cost
■ The volume at which total revenue equals total cost is
called the break-even point
■ Profit at break-even point is zero

11
Faculty of Management and Commerce
Model Building: Break-Even Analysis (2 of 9)
Model Components
• Fixed Cost (cf) - costs that remain constant regardless of
number of units produced
• Variable Cost (cv) - unit production cost of product
• Volume (v) – the number of units produced or sold
• Total variable cost (vcv) - function of volume (v) and unit
variable cost

12
Faculty of Management and Commerce
Model Building: Break-Even Analysis (3 of 9)

Model Components
• Total Cost (TC) - total fixed cost plus total variable cost.
TC = c f + vcv

• Profit (Z) - difference between total revenue vp (p =


unit price) and total cost, i.e.
Z = vp - c f - vcv

13
Faculty of Management and Commerce
Model Building: Break-Even Analysis (4 of 9)

Computing the Break-Even Point


The break-even point is that volume at which total
revenue equals total cost and profit is zero:
vp − c f − vcv = 0
v( p − cv ) = c f
cf
The break-even point v=
p − cv

14
Faculty of Management and Commerce
Model Building: Break-Even Analysis (5 of 9)

Example: Western Clothing Company

Fixed Costs: cf = Rs.10000


Variable Costs: cv = Rs.8 per pair
Price : p = Rs.23 per pair

The Break-Even Point is:

v = (10,000)/(23 -8)
= 666.7 pairs

15
Faculty of Management and Commerce
Model Building: Break-Even Analysis (6 of 9)

Figure 1.2 Break Even Chart

16
Faculty of Management and Commerce
Model Building: Break-Even Analysis (7 of 9)

Figure 1.3 Break Even Chart with Change in revenue

17
Faculty of Management and Commerce
Model Building: Break-Even Analysis (8 of 9)

Figure 1.4 Break Even Chart with Change in variable cost

18
Faculty of Management and Commerce
Model Building: Break-Even Analysis (9 of 9)

Figure 1.4 Break Even Chart with Change in fixed cost

19
Faculty of Management and Commerce
Break-Even Analysis: Excel Solution (1 of 5)

Figure 1.5 Break Even Analysis: Excel solution

20
Faculty of Management and Commerce
Classification of Management Science Techniques

Modelling Techniques

Figure : Modeling Techniques

21
Faculty of Management and Commerce
Characteristics of Modeling Techniques
◼ Linear Mathematical Programming - clear objective; restrictions
on resources and requirements; parameters known with
certainty
◼ Probabilistic Techniques - results contain uncertainty
◼ Network Techniques - model often formulated as diagram;
deterministic or probabilistic
◼ Other Techniques - variety of deterministic and probabilistic
methods for specific types of problems including forecasting,
inventory, simulation, multicriteria, etc.

22
Faculty of Management and Commerce
Business Use of Management Science

• Some application areas:


- Project Planning
- Capital Budgeting
- Inventory Analysis
- Production Planning
- Scheduling
• Interfaces - Applications journal published by Institute for
Operations Research and Management Sciences (INFORMS)

23
Faculty of Management and Commerce
Decision Support Systems (DSS)
A decision support system is a computer-based system that helps
decision makers address complex problems that cut across
different parts of an organization and operations
Features of Decision Support Systems
– Interactive
– Use databases & management science models
– Address “what if” questions
– Perform sensitivity analysis

Examples include:
ERP – Enterprise Resource Planning
OLAP – Online Analytical Processing

24
Faculty of Management and Commerce
Management Science Models
Decision Support Systems (2 of 2)

Figure : A Decision Support System

25
Faculty of Management and Commerce
Linear Programming: Model Formulation and
Graphical Solution

26
Faculty of Management and Commerce
Linear Programming: An Overview
◼ Objectives of business decisions frequently involve maximizing
profit or minimizing costs
◼ Linear programming uses linear algebraic relationships to
represent a firm’s decisions, given a business objective, and
resource constraints
◼ Steps in application:
1. Identify problem as solvable by linear programming
2. Formulate a mathematical model of the unstructured
problem
3. Solve the model
4. Implementation

27
Faculty of Management and Commerce
Model Components
• Decision variables - mathematical symbols representing levels
of activity of a firm
• Objective function - a linear mathematical relationship
describing an objective of the firm, in terms of decision
variables - this function is to be maximized or minimized
• Constraints – requirements or restrictions placed on the firm
by the operating environment, stated in linear relationships of
the decision variables
• Parameters - numerical coefficients and constants used in the
objective function and constraints

28
Faculty of Management and Commerce
Summary of Model Formulation Steps

Step 1 : Clearly define the decision variables

Step 2 : Construct the objective function

Step 3 : Formulate the constraints

29
Faculty of Management and Commerce
LP Model Formulation A Maximization Example
Beaver Creek Pottery Company is a small crafts operation run by a Native American
tribal council. The company employs skilled artisans to produce clay bowls and
mugs with authentic Native American designs and colors. The two primary
resources used by the company are special pottery clay and skilled labor. Given
these limited resources, the company desires to know how many bowls and mugs
to produce each day in order to maximize profit. The two products have the
following resource requirements for production and profit per item produced (i.e.,
the model parameters):

This scenario is illustrated in Figure 1.8


30
Faculty of Management and Commerce
LP Model Formulation
A Maximization Example (1 of 4)
• Product mix problem - Beaver Creek Pottery Company
• How many bowls and mugs should be produced to maximize
profits given labor and materials constraints?
• Product resource requirements and unit profit:
Resource Requirements

Labor Clay Profit


Product
(Hr./Unit) (Lb./Unit) (Rs./Unit)

Bowl 1 4 40
Mug 2 3 50

31
Faculty of Management and Commerce
LP Model Formulation
A Maximization Example (2 of 4)

Figure 1.8 Process in A Beaver Creek Pottery Company

32
Faculty of Management and Commerce
LP Model Formulation
A Maximization Example (3 of 4)
Resource 40 hrs of labor per day
Availability: 120 lbs of clay
Decision x1 = number of bowls to produce per day
Variables: x2 = number of mugs to produce per day
Objective Maximize Z = 40x1 + 50x2
Function: Where Z = profit per day in Rs.
Resource 1x1 + 2x2  40 hours of labor
Constraints: 4x1 + 3x2  120 pounds of clay
Non-Negativity x1  0; x2  0
Constraints:

33
Faculty of Management and Commerce
LP Model Formulation
A Maximization Example (4 of 4)
Complete Linear Programming Model:

Maximize Z = 40x1 + 50x2

subject to: 1x1 + 2x2  40


4x1 + 3x2  120
x1, x2  0

34
Faculty of Management and Commerce
Feasible Solutions

A feasible solution does not violate any of the constraints:

Example: x1 = 5 bowls
x2 = 10 mugs
Z = 40x1 + 50x2 = 700

Labor constraint check: 1(5) + 2(10) = 25 < 40 hours


Clay constraint check: 4(5) + 3(10) = 70 < 120 pounds

35
Faculty of Management and Commerce
Infeasible Solutions

An infeasible solution violates at least one of the constraints:

Example: x1 = 10 bowls
x2 = 20 mugs
Z = 40x1 + 50x2 = 1400
(Z is in Rs.)

Labor constraint check: 1(10) + 2(20) = 50 > 40 hours

36
Faculty of Management and Commerce
Graphical Solution of LP Models

• Graphical solution is limited to linear programming


models containing only two decision variables (can
be used with three variables but only with great
difficulty)
• Graphical methods provide visualization of how a
solution for a linear programming problem is
obtained

37
Faculty of Management and Commerce
Coordinate Axes
Graphical Solution of Maximization Model (1 of 12)

X2 is mugs

Maximize Z = 40x1 + 50x2


subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

X1 is bowls
Figure 1.9: Coordinates for Graphical Analysis
38
Faculty of Management and Commerce
Labor Constraint
Graphical Solution of Maximization Model (2 of 12)

Z is Profit in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.10: Graph of Labor Constraint


39
Faculty of Management and Commerce
Labor Constraint Area
Graphical Solution of Maximization Model (3 of 12)

Z is Profit in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.11: Labor Constraint Area


40
Faculty of Management and Commerce
Clay Constraint Area
Graphical Solution of Maximization Model (4 of 12)

Maximize Z = 40x1 + 50x2


subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.12 : Clay Constraint Area


41
Faculty of Management and Commerce
Both Constraints
Graphical Solution of Maximization Model (5 of 12)

Z is in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure1.13 : Graph of Both Model Constraints


42
Faculty of Management and Commerce
Feasible Solution Area
Graphical Solution of Maximization Model (6 of 12)

Maximize Z = 40x1 + 50x2


subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.14: Feasible Solution Area 43


Faculty of Management and Commerce
Objective Function Solution = Rs.800
Graphical Solution of Maximization Model (7 of 12)

Z is Profit in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.15 : Objective Function Line for Z = Rs.800


44
Faculty of Management and Commerce
Alternative Objective Function Solution Lines
Graphical Solution of Maximization Model (8 of 12)

Z is in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure1.16: Alternative Objective Function Lines


45
Faculty of Management and Commerce
Optimal Solution
Graphical Solution of Maximization Model (9 of 12)

Maximize Z = 40x1 + 50x2


subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.17: Identification of Optimal Solution Point


46
Faculty of Management and Commerce
Optimal Solution Coordinates
Graphical Solution of Maximization Model (10 of 12)

Z is Profit in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure 1.18 : Optimal Solution Coordinates 47


Faculty of Management and Commerce
Extreme (Corner) Point Solutions
Graphical Solution of Maximization Model (11 of 12)

Z is Profit in Rs.
Maximize Z = 40x1 + 50x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0

Figure1.19: Solutions at All Corner Points


48
Faculty of Management and Commerce
Optimal Solution for New Objective Function
Graphical Solution of Maximization Model (12 of 12)

Z is Profit in Rs.
Maximize Z = 70x1 + 20x2
subject to: 1x1 + 2x2  40
4x1+ 3x2  120
x1, x2  0

Figure 1.20: Optimal Solution with Z = 70x1 + 20x2 49


Faculty of Management and Commerce
Slack Variables
◼ Standard form requires that all constraints be in the form
of equations (equalities)
◼ A slack variable is added to a  constraint (weak
inequality) to convert it to an equation (=)
◼ A slack variable typically represents an unused resource
◼ A slack variable contributes nothing to the objective
function value

50
Faculty of Management and Commerce
Linear Programming Model: Standard Form

Max Z = 40x1 + 50x2 + 0s1 + 0s2


subject to:1x1 + 2x2 + s1 = 40
4x2 + 3x2 + s2 = 120
x1, x2, s1, s2  0
Where:
x1 = number of bowls
x2 = number of mugs
s1, s2 are slack variables

Figure 1.21: Solution Points A, B, and C with Slack 51


Faculty of Management and Commerce
LP Model Formulation – Minimization
Farmer is preparing to plant a crop in the spring and needs to
fertilize a field. There are two brands of fertilizer to choose from,
Super-grow and Crop-quick. Each brand yields a specific amount of
nitrogen and phosphate per bag, as follows:
Chemical Contribution

Nitrogen Phosphate
Brand
(lb/bag) (lb/bag)
Super-gro 2 4
Crop-quick 4 3

The farmer’s field requires at least 16 pounds of nitrogen and at


least 24 pounds of phosphate. Super-grow costs ₹ 6 per bag, and
Crop-quick costs ₹ 3. The farmer wants to know how many bags of
each brand to purchase in order to minimize the total cost of
fertilizing.

52
Faculty of Management and Commerce
LP Model Formulation – Minimization (1 of 8)
◼ Two brands of fertilizer available - Super-grow, Crop-quick
◼ Field requires at least 16 pounds of nitrogen and 24 pounds of
phosphate
◼ Super-grow costs Rs.6 per bag, Crop-quick Rs.3 per bag
◼ Problem: How much of each brand to purchase to minimize total
cost of fertilizer given following data ?
Chemical Contribution

Nitrogen Phosphate
Brand
(lb/bag) (lb/bag)
Super-gro 2 4
Crop-quick 4 3

This scenario is illustrated in Figure.1.22


53
Faculty of Management and Commerce
LP Model Formulation – Minimization (2 of 8)

Figure1.22: Fertilizing farmer’s field

54
Faculty of Management and Commerce
LP Model Formulation – Minimization (3 of 8)
Decision Variables:
x1 = bags of Super-gro
x2 = bags of Crop-quick

The Objective Function:


Minimize Z = 6x1 + 3x2
Where: Rs.6x1 = cost of bags of Super- Gro
Rs.3x2 = cost of bags of Crop-Quick
Z is the Total Cost in Rs.
Model Constraints:
2x1 + 4x2  16 lb (nitrogen constraint)
4x1 + 3x2  24 lb (phosphate constraint)
x1, x2  0 (non-negativity constraint)

55
Faculty of Management and Commerce
Constraint Graph – Minimization (4 of 8)

Z is Total Cost in Rs.


Minimize Z = 6x1 + 3x2
subject to: 2x1 + 4x2  16
4x1 + 3x2  24
x1, x2  0

Figure 1.23: Graph of Both Model Constraints


56
Faculty of Management and Commerce
Feasible Region– Minimization (5 of 8)

Z is Total Cost in Rs.


Minimize Z = 6x1 + 3x2
subject to: 2x1 + 4x2  16
4x1 + 3x2  24
x1, x2  0

Figure 1.24: Feasible Solution Area


57
Faculty of Management and Commerce
Optimal Solution Point – Minimization (6 of 8)

Minimize Z = 6x1 + 3x2


subject to: 2x1 + 4x2  16
4x1 + 3x2  24
x1, x2  0

Figure 1.25: Optimum Solution Point


58
Faculty of Management and Commerce
Surplus Variables – Minimization (7 of 8)
◼ A surplus variable is subtracted from a  constraint to
convert it to an equation (=)
◼ A surplus variable represents an excess above a
constraint requirement level
◼ A surplus variable contributes nothing to the calculated
value of the objective function
◼ Subtracting surplus variables in the farmer problem
constraints:
2x1 + 4x2 - s1 = 16 (nitrogen)
4x1 + 3x2 - s2 = 24 (phosphate)

59
Faculty of Management and Commerce
Graphical Solutions – Minimization (8 of 8)

Minimize Z = 6x1 + 3x2 + 0s1 + 0s2


subject to: 2x1 + 4x2 – s1 = 16
4x1 + 3x2 – s2 = 24
x1, x2, s1, s2  0

Figure 1.26: Graph of Fertilizer Example


60
Faculty of Management and Commerce
Irregular Types of Linear Programming Problems
For some linear programming models, the general rules do
not apply.
• Special types of problems include those with:
▪ Multiple optimal solutions
▪ Infeasible solutions
▪ Unbounded solutions

61
Faculty of Management and Commerce
Multiple Optimal Solutions Beaver Creek Pottery

The objective function is


parallel to a constraint line.
Maximize Z=40x1 + 30x2
subject to: 1x1 + 2x2  40
4x1 + 3x2  120
x1, x2  0
Where:
x1 = number of bowls
x2 = number of mugs

Figure 1.27: Example with Multiple Optimal Solutions


62
Faculty of Management and Commerce
An Infeasible Problem

Every possible solution


violates at least one constraint:
Maximize Z = 5x1 + 3x2
subject to: 4x1 + 2x2  8
x1  4
x2  6
x1, x2  0

Figure 1.28: Graph of an Infeasible Problem


63
Faculty of Management and Commerce
An Unbounded Problem

Value of the objective


function increases indefinitely:
Maximize Z = 4x1 + 2x2
subject to: x1  4
x2  2
x1, x2  0

Figure 1.29: Graph of an Unbounded Problem


64
Faculty of Management and Commerce
Characteristics of Linear Programming Problems
• A decision amongst alternative courses of action is required
• Decision is represented in the model by decision variables
• Problem encompasses a goal, expressed as an objective
function, that the decision maker wants to achieve
• Restrictions (represented by constraints) exist that limit the
extent of achievement of the objective
• The objective and constraints must be definable by linear
mathematical functional relationships

65
Faculty of Management and Commerce
Properties of Linear Programming Models

• Proportionality - The rate of change (slope) of the objective


function and constraint equations is constant
• Additivity - Terms in the objective function and constraint
equations must be additive
• Divisibility -Decision variables can take on any fractional value
and are therefore continuous as opposed to integer in nature
• Certainty - Values of all the model parameters are assumed to
be known with certainty (non-probabilistic)

66
Faculty of Management and Commerce
Problem Statement
Example Problem No. 1
Moore’s Company produces a food mixture in 1,000-pound batches. The mixture
contains two ingredients— A and B . The cost per pound of each of these
ingredients is as follows:

Ingredient Cost/lb.
A ₹3
B ₹5

Each batch has the following recipe requirements:


a. At least 500 pounds of A
b. At least 200 pounds of B
The ratio of A to B must be at least 2 to 1. The company wants to know the
optimal mixture of ingredients that will minimize cost. Formulate a linear
programming model for this problem.

67
Faculty of Management and Commerce
Problem Statement
Example Problem No. 1 (1 of 3)
■ Hot dog mixture in 1000-pound batches
■ Two ingredients, chicken (Rs.3/lb) and beef (Rs.5/lb)
■ Recipe requirements:
at least 500 pounds of “A”
at least 200 pounds of “B”
■ Ratio of chicken to beef must be at least 2 to 1
■ Determine optimal mixture of ingredients that will minimize
costs

68
Faculty of Management and Commerce
Solution
Example Problem No. 1 (2 of 3)
Step 1:
Identify decision variables.
x1 = lb of A in mixture
x2 = lb of B in mixture
Step 2:
Formulate the objective function.
Minimize Z = 3x1 + 5x2
where Z = cost per 1,000-lb batch in Rs.
3x1 = cost of A
5x2 = cost of B

69
Faculty of Management and Commerce
Solution
Example Problem No. 1 (3 of 3)
Step 3:
Establish Model Constraints
x1 + x2 = 1,000 lb
x1  500 lb of A
x2  200 lb of B
x1/x2  2/1 or x1 - 2x2  0
x1, x2  0
The Model: Minimize Z = 3x1 + 5x2
subject to: x1 + x2 = 1,000 lb
x1  50
x2  200
x1 - 2x2  0
x1,x2  0
70
Faculty of Management and Commerce
Example Problem No. 2 (1 of 3)

Solve the following model


graphically:
Maximize Z = 4x1 + 5x2
subject to: x1 + 2x2  10
6x1 + 6x2  36
x1  4
x1, x2  0

Step 1: Plot the constraints


as equations

Figure 1.30: Constraint Equations


71
Faculty of Management and Commerce
Example Problem No. 2 (2 of 3)

Maximize Z = 4x1 + 5x2


subject to: x1 + 2x2  10
6x1 + 6x2  36
x1  4
x1, x2  0
Step 2: Determine the feasible
solution space

Figure 1.31: Feasible Solution Space and Extreme Points


72
Faculty of Management and Commerce
Example Problem No. 2 (3 of 3)

Maximize Z = 4x1 + 5x2


subject to: x1 + 2x2  10
6x1 + 6x2  36
x1  4
x1, x2  0
Step 3 and 4: Determine the
solution points and optimal
solution

Figure 1.32: Optimal Solution Point


73
Faculty of Management and Commerce
Summary
• Introduction to the concepts of Management Science/Operations
Research has been discussed with reference to origin, history,
application
• Several illustrations have been used to formulate the Linear
Programming Problem in relation to objective function and
constraints
• The meaning of Feasible and Infeasible solutions has been
discussed graphically
• Demonstration of Maximisation and Minimisation problems has
been done graphically
• Examples of Bounded and Unbounded solutions have been
graphically analysed

74
Faculty of Management and Commerce

Potrebbero piacerti anche