Professional Documents
Culture Documents
PRESENTATION
k 5
Introduction to non-linear programming
Learning Outcomes
By the end of this topic you should be able to;
• Define a non-linear program
1. Introduction
Nonlinear Programming deals with finding a solution that opti-
mizes an objective function, possibly subject to nonlinear con-
JJ II
straints on the decision variables. It is different than linear pro-
J I
gramming in that the functions defining the objective or
Back Close
CUK, Leading promoter of Digital Learning! 1
©CUKeL OPERATIONS RESEARCH
constraints
k may be nonlinear functions of the decision variables
rather than linear.
Nonlinear programming model much more difficult to formu-
late and solve because nonlinear functions can take on a such a
wide variety of functional forms.
In one general form,the nonlinear programming problem is to
find x=(x1 , x2 , . . . , xn ) so as to
Maximize f (x),
subject to
gi (x) ≤ bi , for i = 1, 2, ..., m,
and
©KJM
x ≥ 0,
where f (x) and the gi (x) are given functions of the n decision
variables.
JJ II There are many different types of nonlinear programming prob-
J I lems, depending on the characteristics of the f (x) and gi (x) func-
Back Close
CUK, Leading promoter of Digital Learning! 2
©CUKeL OPERATIONS RESEARCH
tions.k Different algorithms are used for the different types. For
certain types where the functions have simple forms, problems
can be solved relatively efficiently but in other cases, solving even
small problems is a real challenge.
JJ II
J I
Back Close
CUK, Leading promoter of Digital Learning! 5
©CUKeL OPERATIONS RESEARCH
1.2. kSingle variable unconstrained local nonlinear opti-
mization
Here we consider a case in which the objective function is to be
optimized with no constraints. unconstrained0) If the function
if diffentiable, we can apply basic calculus to identify the local
minimum or maximum as follows;
df (x) d2 f (x)
+ Determine and
dx dx2
d2 f (x)
+ If = f 00 (x) > 0, at the stationary point, then this
dx2
stationary point is said to be a minimum stationary point.
©KJM
d2 f (x)
+ If = f 00 (x) < 0 at the stationary point, then this sta-
dx2
tionary point is said to be a maximum. (Here we have used
f (x) = y)
JJ II
J I
Back Close
CUK, Leading promoter of Digital Learning! 6
©CUKeL OPERATIONS RESEARCH
Minimum
k point
Minimum point
@
dy @ d2 y dy
> 0@ >0 <0
dx dx 2 dx
@
@
dy
=0
dx
Maximum point
dy
=0
dx
dy d2 y
@ dy
>0 <0
©KJM
<0
@
dx dx 2 @dx
Maximum point @
@
JJ II
J I
Back Close
CUK, Leading promoter of Digital Learning! 7
©CUKeL OPERATIONS RESEARCH
Point
k of inflexion dy
dy >0
=0 dx
dx
dy k
> 0d y 6= 0, k > 2
dx dxk
Point of inflexion
function using some rules. Some of the well known function using
some
JJ II 1. Bisection
J I
2. Fibonacci
Back Close
CUK, Leading promoter of Digital Learning! 8
©CUKeL OPERATIONS RESEARCH
3. kGradient ascent or descent
xk+1 = xk − αk ∇f (xk )
©KJM
x1 + 2x2 = 40 (hours)
Determine the optimal solution to this nonlinear programming
model.
Solution: The first step in the substitution method is to solve the
JJ II
J I constraint equation for one variable in terms of another. We will
Back Close
CUK, Leading promoter of Digital Learning! 10
©CUKeL OPERATIONS RESEARCH
arbitrarily
k decide to solve for as follows:
x1 = 40 − 2x2
Now wherever appears in the nonlinear objective function, we
will substitute this expression to get;
4(40 − 2x2 ) − 0.1(40 − 2x2 )2 + 5x2 − 0.2x22
=−0.6x22 + 13x2
This is an unconstrained optimization function, and we can
solve it by differentiating it and setting it equal to zero
dZ
= −1.2x2 + 13 = 0 leading to x2 = 10.8mugs
dx2
To determine x1 we can substitute x2 into the constraint equa-
tion:
©KJM
3. Integer Programming
An optimization program where some or all of the variables are
limited to be integral.
JJ II
Problems in which this is the case are called integer programs
J I
(IP’s) and the subject of solving such programs is called integer
Back Close
CUK, Leading promoter of Digital Learning! 13
©CUKeL OPERATIONS RESEARCH
programming
k (also referred to by the initials IP)
An integer linear program in canonical form is expressed as;
maximize cT x
subject to Ax ≤ b,
x ≥ 0 and Integer
where c, bc, b are vectors and A is a matrix, where all entries are
integers.
Examples include the transportation problem and assign-
ment problem among many others.
©KJM
JJ II
J I
Back Close
CUK, Leading promoter of Digital Learning! 14