Module - 1 Lecture Notes - 2 Optimization Problem and Model Formulation
Module - 1 Lecture Notes - 2 Optimization Problem and Model Formulation
Module - 1 Lecture Notes - 2 Optimization Problem and Model Formulation
Introduction
In this lecture we will study the Optimization problem, its various components and its
formulation as a mathematical programming problem.
An objective function expresses the main aim of the model which is either to be minimized or
maximized. For example, in a manufacturing process, the aim may be to maximize the profit
or minimize the cost. In comparing the data prescribed by a user-defined model with the
observed data, the aim is minimizing the total deviation of the predictions based on the model
from the observed data. In designing a bridge pier, the goal is to maximize the strength and
minimize size.
A set of unknowns or variables control the value of the objective function. In the
manufacturing problem, the variables may include the amounts of different resources used or
the time spent on each activity. In fitting-the-data problem, the unknowns are the parameters
of the model. In the pier design problem, the variables are the shape and dimensions of the
pier.
A set of constraints are those which allow the unknowns to take on certain values but exclude
others. In the manufacturing problem, one cannot spend negative amount of time on any
activity, so one constraint is that the "time" variables are to be non-negative. In the pier design
problem, one would probably want to limit the breadth of the base and to constrain its size.
The optimization problem is then to find values of the variables that minimize or maximize the
objective function while satisfying the constraints.
Objective Function
As already stated, the objective function is the mathematical function one wants to maximize
or minimize, subject to certain constraints. Many optimization problems have a single objective
function.
Variables
These are essential. If there are no variables, we cannot define the objective function and the
problem constraints. In many practical problems, one cannot choose the design variable
arbitrarily. They have to satisfy certain specified functional and other requirements.
Constraints
Constraints are not essential. It's been argued that almost all problems really do have
constraints. For example, any variable denoting the "number of objects" in a system can only
be useful if it is less than the number of elementary particles in the known universe! In practice
though, answers that make good sense in terms of the underlying physical or economic criteria
can often be obtained without putting constraints on the variables.
Design constraints are restrictions that must be satisfied to produce an acceptable design.
For example, for the retaining wall design the base width W cannot be taken smaller than a
certain value due to stability requirements. The depth D below the ground level depends on the
soil pressure coefficients AND since these constraints depend on the performance of the
retaining wall, they are called behavioural constraints. Similarly thickness of reinforcement
used is controlled by supplies from the manufacturer. Hence this is a side constraint.
NOTE:
In general, there will be more than one acceptable design and the purpose a optimization
is to choose the best one out of the many designs available. Thus, the criteria with respect to
which the design is optimized, when expressed as a function of the design variables is known
as CRITERION OR MERIT OR OBJECTIVE FUNCTION. The choice of objective function
depends on the nature of the problem. The objective function for minimization is generally
taken in structural design problems.
Linear programming (LP) is the term used for defining a wide range optimization
problem in which the objective function to be minimized or maximized is linear in the unknown
variables and the constraints are a combination of linear equalities and inequalities. This
Technique has found its applications to important areas in product mix, bleeding problems, diet
problems etc. Oil companies/Refineries, chemical industries, Steel industries and food
processing industries use linear programming with considerable success.
If the objective function and all the constraints are ‘linear’ functions of the design
variables, the optimization problem is called a linear programming problem (LPP). A linear
programming problem is often stated in the standard form:
x1
x
2
Find X = .
.
x n
n
Which maximizes f(X) = c x
i =1
i i
a
i =1
ij xi = b j , i = 1, 2, . . . , n
xi 0 , j = 1, 2, . . . , m
Solution
Let x1 = no. of M1 models produced per week
x2 = no of M2 model produced per week.
The weekly profit in Rs is
Z = 3x1 + 4x2 (Rs 3 on M1 model and Rs 4 on M2 model)
To produce these no. of models, total no. of grinding hrs needed per week
= 4x1 + 2x2; (M1 model – 4 hrs of grinding; M2 model – 2 hrs of grinding)
Similarly, Total no. of polishing hr required/week
= 2x1 + 5x2
Now, No. of grinding hrs available is not more than 80 & no. of Polishing hours
available is not more than 180.
So, 4x1 + 2x2 ≤ 80
2x1 + 5x2 ≤ 180
Since -ve no. of models are not produced
So, x1 ≥ 0 & x2 ≥ 0
Hence formulation of the problem
Maximize
Z = 3x1 + 4x2; Objective Function
Subject to
4x1 + 2x2 ≤ 80
2x1 + 5x2 ≤ 180; Constraints
x1 ≥ 0 & x2 ≥ 0
Note: Since the objective function and the constraints are all linear therefore this is a Linear
Programming Problem (LPP).
*********************************************