BRE4281 - Linear Programming and Applications 2019-20
BRE4281 - Linear Programming and Applications 2019-20
Management
1
Lecture Outline
Introduction
Defining linear programming
Procedures of linear programming
Formulating linear programming problems
Case study
In-class exercises
2
Introduction
o Linear Programming
o Dynamic Programming
George B. Dantzig
3
Introduction
Decision to be made???
4
Introduction
5
Defining linear programming
6
Defining linear programming
7
Defining linear programming
8
Procedures of linear programming
9
Procedures of linear programming
10
Procedures of linear programming
11
Procedures of linear programming
12
Procedures of linear programming
Graphic method
Procedures
o Formulate the feasible area (to meet all the constraint algebraic
expressions) in a coordinate diagram
o Define objective lines
o Identify the maximum objective value
o Sensitivity analysis
13
Formulating linear programming problems
o One of the most common linear programming applications is the product mix
problem
o Two or more products are usually produced using limited resources such as
personnel, machines, raw materials, etc.
o The profit that the firm seeks to maximise is based on the profit contribution per
unit of each product
o The company would like to determine how many units of each product it should
produce so as to maximise overall profit given its limited resources
https://www.youtube.com/watch?v=YPn4yHM1YsU
14
Formulating linear programming problems
Case study:
o The Wyndor Glass Co. produces high-quality glass products, including windows and
glass doors. It has three plants. Aluminum frames and hardware are made in Plant A,
wood frames are made in Plant B, and Plant C cuts the glass and assembles the products.
Because of declining earnings, manager decides that unprofitable products are to be
discontinued, and product capacity will be reassigned to launch two new products. The
two new products include:
The product 1 requires production capacity in Plants A and C only. The product 2 needs
only Plants B and C. The marketing department figures that the company can sell
15 as many of each product as they can produce.
Formulating linear programming problems
o To produce one batch of product 1, the workers in plant A are required to work for 1 hour
and workers in plant C are required to work for 3 hours per week. To produce one batch
of product 2, the workers in plant B are required to work for 2 hours and workers in plant
C are required to work for 2 hours per week.
o Available working hours per week in each plant for the new products is 4 hours, 12 hours,
and 18 hours respectively.
Question:
o Determine what the production rates should be for the two products in order to
maximize their total profit, subject to restrictions imposed by the limited production
capacities available in the three plants.
o Each product will be produced in batches, so the production rate to be determined is the
number of batches per week. Any combination of production rates that satisfies these
restrictions is permitted, including producing none of one product and as much as
possible of the other.
17
Formulating linear programming problems
1. Number of hours of production time available per week in each plant for the
new products.
2. Number of hours of production time used in each plant for each batch of each
new product.
3. Profit per batch produced of each new product.
We recognize this as a linear programming problem of the classic product mix type.
Thus, X1 and X2 are decision variables and Z is the objective function (maximized). Based on
collected parameters, we have:
Z = 3 X1+ 5 X2
19
Formulating linear programming problems
Describe Constraints
The data indicates that each batch of product 1 produced per week uses 1 hour of
production time per week in Plant A, whereas only 4 hours per week are available in Plant
A. The restriction is written mathematically as
X1 ≤ 4
Similarly, Plant B imposes the restriction
2X2 ≤ 12
The number of hours of production time used per week in Plant C given X1 and X2 is 3
X1+ 2X2 (3 hours of production per batch of product 1 and 2 hours per batch of product 2).
The available capacity in Plant C provides the constraint:
3X1 + 2X2 ≤ 18
Finally, production rates cannot be negative, so it is necessary to impose restrictions
20 X1 ≥ 0 and X2 ≥ 0
Formulating linear programming problems
Algebraic Formulation
X1 ≤ 4
2X2 ≤ 12
3 X1 +2X2 ≤ 18
and
X1≥ 0; X2≥ 0
21
Formulating linear programming problems
22
Formulating linear programming problems
o It involves looking at the profit at every corner point of the feasible region
o An optimum solution to any problem will lie at a corner point, or extreme point, of
the feasible region
o Hence, it is only necessary to find the values of the variables at each corner
o The maximum profit or optimum solution will lie at one (or more) of them
23
Formulating linear programming problems
Solution
o The optimal solution is the point (2,6) where X1 =2; X2 = 6; with Z=36. This implies 2 batches
of product 1 and 6 batches of product 2 will be produced per week, providing a total profit of
$36,000 per week.
o Next step: assess practical realities and possible reassess the model. Subject the model to
both parametric and structural sensitivity analysis.
25
Formulating linear programming problems
Application
What if the profit of product 1 and product 2 changed to $5000 and $3000
respectively?
26
Formulating linear programming problems
Application
Z=29=5x1+3x2
27
Thank You !
28