You are on page 1of 1

NLP

% Objective Function

Min f x 
% Constraints
Subject To
% In-Equality Constraints

g j x   0 , j  1,2,, J
% Equality Constraints

hk x   0 , k  1,2,, K
% Bounds
x il  x i  x iu , i  1,2,  , N

NLP Fitness Function used in GA


  J
 2
F x  = f x    R j g j  x 
% Objective Function

Min f x  j 1
% Constraints R j  Penaty Paramter (taken as
Subject To
% In-Equality Constraints 1 for all the simulations)

g j x   0 , j  1,2,, J
Equality Constraints are
% Equality Constraints converted into in-equality

hk x   0 , k  1,2,, K constraints
 
% Bounds g K  J x     hk x   0 ;  is a
x il  x i  x iu , small positive value

You might also like