SMDM Chapter 1,2,3 Lecture Note.
SMDM Chapter 1,2,3 Lecture Note.
Making
Prepared by:
Email:[email protected]
Preface
This lecturenotes aim to give you a summary of the course material. The
proofs and solutions shown in the lectures are not written down in the notes .
And most of the comments, whether or not helpful, from the lecture you can
not find neither. We will follow a text book throughout the course written
by Professor Hamdy A. Taha [1]. You should also see the optional books
mentioned in the course outline.[2, 3]
MGT4202: System Modeling & Decision Making © Dr. A B M Shahadat Hossain
Lec 01
Introduction
Preamble
Definitions of OR
In a Probabilistic model all values used are not known with cer-
tainty; and are often measured as probability values.
constraint); and
◦ Problem Identification
◦ Formulation
◦ Model Validation
◦ Implementation
Figure 2: Methodology of OR
(i) analytical,
(ii) numerical, or
Applications of OR
Finance and Accounting
Dividend policies, investment and
Claim and complaint pro-
portfolio management, auditing,
cedure, and public ac-
balance sheet and cash cost flow
counting
analysis
Establishing costs for by-
Break-even analysis, capital bud-
products and developing
geting, allocation and control,
standard costs
and financial planning
Govermment
Economic planning, natural Urban and housing problems
resources, social planning and Military, police, pollution con-
energy trol, etc.
OR Models in Practice
There is no unique set of problems that can be solved by using OR techniques.
Several OR techniques can be grouped into some basic categories as given
below. In this cours, a large number of OR techniques have been discussed in
detail.
Course Coverage
Despite our limited scope, it is hoped that the course will help
you acquire a solid understanding of how complex problems can be
modeled and solved with these methods.
Quiz
Preamble
Suppose further that the company has 650 units of Resource A and
500 units of Resource B available per week, and that the net profits
for selling units of the regular model and the enhanced model are
given respectively as 5 and 7 per unit. The question of interest
is: What are the optimal weekly production levels for these two
models?
and we wish to choose a pair of values for xr and xe that yields the
highest possible weekly total profit.
However, from the table above, we see that there are limitations or
constraints on the possible values of these variables. Specifically,
we have:
xr ≥ 0, xe ≥ 0
Notice that each term in the objective function has the form cx,
where c is a constant and x is a variable.
In other words, the objective function is linear in the decision vari-
ables xr and xe .
Notice further that the left-hand-side expressions in all four con-
straints are also linear. This is why we call the above problem a
linear program.
If a term such as 3x2 appears in a formulation, then the resulting
problem is said to be nonlinear.
Genearal Notation of a LP
Maximize or Minimize c1 x1 + c2 x2 + · · · + cn xn
where the c j ’s, the ai j ’s, and the bi ’s are given parameters.
Notice that three types of constraints are allowed: ”≤”, ”=”,
or ”≥”. Strict inequalities, i.e., ”<” or ”>”, are not allowed in a
linear program, because they may lead to ill-defined problems (e.g.,
maximize x subject to x < 1).
Assumptions in a LP Formulation
In any formulation effort, one has to make simplifying assumptions. We
now describe more formally a number of important assumptions in a linear-
programming formulation:
In the product-mix problem, for example, the total net profit equals
the sum of 5xr and 7xe .
Certainty: All input parameters of the problem (i.e., the c j ’s, the
ai j ’s, and the bi ’s) are assumed to be known with certainty, i.e.,
deterministic.
The daily demand for interior paint cannot exceed that for exte-
rior paint by more than 1 ton. Also, the maximum daily demand
for interior paint is 2 tons. Reddy Mikks wants to determine the
optimum (best) product mix of interior and exterior paints that
maximizes the total daily profit.
Solution: in lecture.
Solution: in lecture.
Remark:
The optimum solution of an LP, when it exists, is always associated
with a corner point of the solution space, thus limiting the search
for the optimum from an infinite number of feasible points to a
finite number of corner points.
Solution: in lecture.
Remarks:
◦ at least corresponds to ≥
◦ at most corresponds to ≤
1. Investment.
3. Workforce planning.
Remark:
Here we will discuss each model is detailed, and its optimum solu-
tion is interpreted.
2.4.1 Investment
Multitudes of investment opportunities are available to today’s investor.
Solution: in lecture.
This section presents three examples. The first deals with production
scheduling to meet a single-period demand.
the third deals with the use of inventory and worker hiring/firing to
“smooth” production over a multiperiod planning horizon.
Solution: in lecture.
Solution: in lecture.
The constraints associated with these projects are both economic (land,
construction, and financing) and social (schools, parks, and income
level).
In the remaining two categories, the goals involve social, political, eco-
nomic, and cultural considerations.
The example presented in this section is fashioned after the Ohio case.
modern development.
The project involves two phases:
(i) demolishing substandard houses to provide land for the new
development and
4. The tax levied per unit for single, double, triple, and quadru-
ple units is $1000, $1900, $2700, and $3400, respectively.
Solution: in lecture.
x1 + x2 − S1 = 800, S1 ≥ 0
The amount of S1 represents the excess tons of the mix over the
required minimum (= 800 tons).
In this case, Si− represents the number of workers hired and Si+ the
number of workers fired.
s/t
2x1 + x2 ≤ 4
x1 + 2x2 ≤ 5
x1 , x2 ≥ 0
Solution: in lecture.
n n!
Cm =
m!(n − m)!
Example 3.3-1 :
Recall the Reddy Mikks model:
s/t
6x1 + 4x2 ≤ 24 (Raw material M1)
x2 ≤ 2 Demand limit
x1 , x2 ≥ 0
Solution: in lecture.
x1 + 2x2 + s2 =6
−x1 + x2 + s3 =1
x2 + s4 = 2
x1 , x2 ≥ 0
Simplex Tableau:
↓
Basic z x1 x2 s1 s2 s3 s4 Solution Ratio
z 1 -5 -4 0 0 0 0 0
24
← s1 0 6 4 1 0 0 0 24 6 =4 ← (min)
6
s2 0 1 2 0 1 0 0 6 1 =6
1
s3 0 -1 1 0 0 1 0 1 −1 = −1
2
s4 0 0 1 0 0 0 1 2 0 =∞
↓
Basic z x1 x2 s1 s2 s3 s4 Solution Ratio
z 1 0 − 23 5
6 0 0 0 20
2 1
x1 0 1 3 6 0 0 0 4 4 ÷ 23 = 6
4
← s2 0 0 3 − 16 1 0 0 2 2 ÷ 43 = 1.5← (min)
5 1
s3 0 0 3 6 0 1 0 5 5 ÷ 53 = 3
s4 0 0 1 0 0 0 1 2 2÷1 = 1
Basic z x1 x2 s1 s2 s3 s4 Solution Ratio
3 1
z 1 0 0 4 2 0 0 21 Optimum Soln
1
x1 0 1 0 4 − 12 0 0 3
x2 0 0 1 − 18 3
4 0 0 3
2
3
s3 0 0 0 8 − 54 1 0 5
2
1
s4 0 0 0 8 − 34 0 1 1
2
⇒ The optimal values of the variables in the Basic column are given in
the right-hand-side Solution column and can be interpreted as
Remark:
In minimization problems, the optimality condition calls for selecting the
entering variable as the nonbasic variable with the most positive objective
coefficient in the z-row, the exact opposite rule of the maximization case.
This follows because max z is equivalent to min (−z ). As for the
feasibility condition for selecting the leaving variable, the rule remains
unchanged.
with c2 = 2 instead of 5:
Standard LP Problem:
s/t x1 ≤ 4
2x2 ≤ 12
3x1 + 2x2 = 18
x1 , x2 ≥ 0
Solution: in lecture.
Remark:
⇒ Artificial variable objective function coefficient
−M, in maximum problems
=
M, in minimum problems
s/t
2x1 + x2 ≤ 1
x1 + 4x2 ≥ 6
x1 , x2 ≥ 0
Solution: in lecture.
48