Mat 353 Lecture 1
Mat 353 Lecture 1
1
1.1.2 Construction of the model
This entails an attempt to translate the problem definition into mathemat-
ical relationships ensuring that the resulting model fits one of the standard
mathematical models, such as linear programming, reaching a solution by
using available algorithms.
1.1.6 Remark
In practice, OR does not offer a single general technique for solving all mathe-
matical models. Instead, the type and complexity of the mathematical model
dictate the nature of the solution method.
The most prominent OR technique is linear programming. It is designed
for models with linear objective and constraint functions. Other techniques
include integer programming (in which the variables assume integer values),
dynamic programming (in which the original model can be decomposed into
smaller more manageable subproblems), network programming (in which the
problem can be modeled as a network), and nonlinear programming (in which
functions of the model are nonlinear). These are only a few among many
available OR tools. A peculiarity of most OR techniques is that solutions
are not generally obtained in (formula-like) closed forms. Instead, they are
determined by algorithms.
2
1.2 Type of Mathematical Models
A mathematical model is a mathematical representation of an actual situa-
tion that may be used to make better decisions or simply to understand the
actual situation better.
There are different kinds of Mathematical models and these include;
i Prescriptive or Optimization models
ii Static and Dynamic models
iii Linear and Non linear models
iv Integer and Non integer models
v Deterministic and Stochastic models
3
1.2.4 Integer and Non Integer models
If one or more decision variables must be integer, then we say that an opti-
mization model is an integer model. If all the decision variables are free to
assume fractional values, then the optimization model is a noninteger model.
1.3 Definitions
1.3.1 Optimization Problem
Optimization problem is the problem requiring the determination of the opti-
mal (maximum and minimum) value of a given function, called the objective
functions, subject to a set of stated restrictions, or constraints placed on the
variables concerned.
4
1.3.4 Linear Program
Linear program is a mathematical program that has its objective function
and constaints given as linear functions and linear inequalities respectively.
5
and
x1 ≥ 0, x2 ≥ 0, ..., xn ≥ 0 (iii)
Any situation whose mathematical formulation fits this model is a linear
programming problem
Example I
A company produces two types of Heater, S and L. The wholesale price per
Heater for S is $40 and $88 for L. Two time constraints result from the use
of the two machines M1 and M2 . On M1 , one needs 2mins for S heater and
8mins for L heater. On M2 , one needs 5mins for S heater and 2mins for L
heater. Determine the production figures for S and L respectively (number
of heaters produced per hour) so that the hourly revenue is maximized.
Solution I
Let x1 represents the number of S heaters produced per hour.
Let x2 represents the number of L heaters produced per hour.
Then the total revenue is
z = 40x1 + 88x2
which is the objective function to be maximized.
Constraints on machine per hour M1
2x1 + 8x2 ≤ 60
Constraints on machine per hour M2
5x1 + 2x2 ≤ 60
We then have a linear program
Maximize : z = 40x1 + 88x2
subject to;
2x1 +8x2 ≤ 60
5x1 +2x2 ≤ 60
x1 ≥0
x2 ≥0
6
Example II
A furniture maker has 6 units of wood and 28 hours of free time in which he
will make decorative screens. Two models have sold well in the past, so he
will restrict himself to those two. He estimates that model I requires 2 units
of wood and 7 hours of time, while model II requires 1 unit of wood and 8
hours of time. The price of the models are $120 and $80 respectively. How
many screens of each model should the furniture maker assemble if he wishes
to maximize his sale revenue?
Solution II
Let x1 represents the model I
Let x2 represents the model II
Then the total revenue is
z = 40x1 + 88x2
subject to;
2x1 +x2 ≤ 6
7x1 +8x2 ≤ 28
x1 ≥0
x2 ≥0
Example III
A Mine company operates three mines in Southern Nigeria. The ore from
each mine is seperated into two grades before it is shipped. The daily pro-
duction capacities of the mines, as well as their daily operating costs are as
follows;
7
High grade ore per ton per day Low grade ore per ton per day Operating cost
Mine I 4 4 2
Mine II 6 4 2
Mine III 1 6 1
The company has committed to deliver 54 tons of high grade ore and 65 tons
of low grade ore by the end of the week. It also has labour contracts that
guarantee employees in each mine a full day’s pay for each day or fraction of a
day the mine is open. Determine the number of days each mine should be op-
erated during the upcoming week if the company is to fulfill its commitment
at minimum total cost.
Solution III
Let x1 represents the operating days for Mine I
Let x2 represents the operating days for Mine II
Let x3 represents the operating days for Mine III
Then the total cost is
4x1 + 6x2 + x3 ≥ 54
subject to;
4x1 +6x2 +x3 ≥ 54
4x1 +4x2 +6x3 ≥ 65
x1 ≤7
x2 ≤7
8
1.5 Method for solving Linear Program
There are two major methods for solving a linear programming;
i Graphical Method
ii Simplex Method
Although there are other defined algorithms for different kinds of linear pro-
gramm.
Graphical method is applicable where there are only two decision variables
involved. Consider the following examples to graphically solve a linear pro-
gram. For this purpose, we shall be using the model considered in example
I;
A linear program
Maximize : z = 40x1 + 88x2
subject to;
2x1 +8x2 ≤ 60
5x1 +2x2 ≤ 60
x1 ≥0
x2 ≥0
Solution
Let x1 and x2 be the coordinates of a graph as shown below. The line
through CB represents the equation 2x1 + 8x2 ≤ 60 while the line through
AB represents the equation 5x1 +2x2 ≤ 60. The region OABC is the feasible
region and the points O, A, B and C are the extreme points. To determine
the one that maximizes the revenue, we substitute the coordinates of the
9
Figure 1:
z = 40 × 10 + 88 × 5 = 840
10