SlideShare a Scribd company logo
1 of 16
Download to read offline
Penalty function methods
Zahra Sadeghi
2
Solution space
3
 A constrained optimization problem is usually written as a nonlinear optimization
problem:
 x is the vector of solutions,
 F is the feasible region and S is the whole search space
 There are q inequality and m-q equality constraints
 f(x) is usually called the objective function or criterion function.
 Objective function and constraints could be linear or nonlinear in the problem.
 Vector x that satisfies all the constraints is a feasible solution of the problem.
 nonlinear programming problem is to find a point x* ∈ F such that F(x *) ≤f(x) for
all x ∈F
CONSTRAINED OPTIMIZATION
4
 Category 1: Methods based on penalty functions
 - Death Penalty
 - Static Penalties
 - Dynamic Penalties
 - Annealing Penalties
 - Adaptive Penalties
 - Segregated GA
 - Co-evolutionary Penalties
 Category 2: Methods based on a search of feasible solutions
 - Repairing unfeasible individuals
 - Superiority of feasible points
 - Behavioral memory
 Category 3: Methods based on preserving feasibility of solutions
 - The GENOCOP system
 - Searching the boundary of feasible region
 - Homomorphous mapping
 Category 4: Hybrid methods
CONSTRAINT HANDLING in GAs
5
Penalty Functions
6
Death Penalty
 rejects unfeasible solutions from the population
 considering only the points that are in feasible
 when the problem is highly constrained, the algorithm
will spend a lot of time to find too few feasible solutions.
 region of the search space prevents to find better
solutions.
7
 to penalize infeasible solutions is to apply a constant penalty to those
solutions which violate feasibility in any way.
 penalty parameters don’t depend on the current generation number and a
constant penalty is applied to unfeasible solutions.
 The penalty function for a problem with m constraints
fp(x) is the penalized objective function,
f(x) is the unpenalized objective function,
Ci is a constant imposed for violation of constraint i.
Static Penalties
8
Cnt’d…
 More common and more effective is to penalize according of distance to
feasibility,
 assuming distance = number of constraints violated.
 A more sophisticated and more effective penalty includes a distance metric for
each constraint, and adds a penalty which becomes more severe with distance
from feasibility.
 distance metric , provides information concerning the nearness of the solution to
feasibility,
this nearness to feasibility is relevant in the same magnitude to the fitness of the
solution.
 A general formulation is as follows for a minimization problem:
di is the distance metric of constraint i applied to solution x
k is user defined exponent, with values of k of 1 or 2 often used.
Selection of Ci is more difficult.
9
Homaifar, Lai, & Qi method
 Steps :
 Generate l levels of violation for each constraint,
 Generate penalty coefficient Rij (i=1,...,l ; j=1,…,m) for
each level of violation and each constraint.
The bigger coefficients are given to the bigger violation levels,
 Generate a random population using both feasible and
unfeasible individuals,
 Evaluate individuals using
Rij indicates the penalty coefficient corresponding to jth constraint
and ith violation level. m is the number of constraints.
10
Dynamic Penalties
 si(t) is a monotonically non-decreasing in
value with t.
 Metrics for t include number of generations
or the number of solutions searched.
 Recent uses of this approach include Joines and Houck
11
 penalty parameters are usually dependent on the current generation
number.
Joines and Houck
12
Michalewicz and Attia : simulated annealing
Steps:
 Separate all constraints into four subsets:
linear equations, linear inequalities,nonlinear equations and nonlinear inequalities,
 starting point =a random single point that satisfies linear constraints.
initial population = of copies of this single point
 Create a set of active constraints A =
nonlinear equations and violated nonlinear inequalities,
 Set τ=τ0,
 Evolve the population,
 If τ<τf (freezing point) stop the procedure, otherwise,
- Diminish τ,
- Use the best solution as a starting point for next generation,
- Update A,
-Repeat the previous step of the main part.
 The algorithm is terminated at a previously determined freezing point τf .
Michalewicz and Attia used τ0=1, τi+1=0.1τi , τf=0.000001
Annealing Penalties
13
Adaptive Penalties
 not adaptive to the ongoing success of the search and
 cannot guide the search to particularly attractive regions
or away from unattractive regions based on what has
already been observed.
 Bean and Hadj-Alouane (1992) propose penalty functions which are
revised based on the feasibility or infeasibility of the best, penalized
solution during recent generations
14
Smith and Tate (1993).
•NFT is the threshold distance from the feasible region at which the user would
consider the search as “getting warm.”
• Unfeasible solutions at this distance are considered to be reasonable since they are
very close to the feasible region.
•The penalty function encourages the evolutionary algorithm to explore within the
feasible region and the NFT-neighborhood of the feasible region, and discourage
search beyond that threshold.
Fall(t) denotes the unpenalized value of the best solution yet found,
Ffeas(t) denotes the value of the best feasible solution yet found.
15
Segregated GA
 set two penalty parameters (say, p1 and p2) in two different populations.
 aim : to overcome the problem of too high and too low penalties
 If a small value is selected for p1 and a large value for p2, a simultaneous
convergence from feasible and unfeasible sides can be achieved.
Steps:
 - Generate 2 x pop individuals at random (pop is the population size),
 - Design two different evaluation functions:
 - Evaluate each individual according to two evaluation functions,
 - Create two ranked lists according to f1(x) and f2 (x),
 - Combine two ranked lists in a single one ranked population with size pop,
 - Apply genetic operators,
 - Evaluate the new population using both penalty parameters,
 - From the old and new populations generate two populations of the size pop
each,
 - Repeat the last four steps of the process.
16
Thanks

More Related Content

What's hot

What's hot (20)

Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Anfis (1)
Anfis (1)Anfis (1)
Anfis (1)
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problem
 
Genetic Algorithm in Artificial Intelligence
Genetic Algorithm in Artificial IntelligenceGenetic Algorithm in Artificial Intelligence
Genetic Algorithm in Artificial Intelligence
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
Tabu search
Tabu searchTabu search
Tabu search
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...
 
Flowchart of GA
Flowchart of GAFlowchart of GA
Flowchart of GA
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
 
Ant Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its ApplicationsAnt Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its Applications
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Genetic algorithm ppt
Genetic algorithm pptGenetic algorithm ppt
Genetic algorithm ppt
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
Random number generation
Random number generationRandom number generation
Random number generation
 
Steepest descent method
Steepest descent methodSteepest descent method
Steepest descent method
 
Defuzzification
DefuzzificationDefuzzification
Defuzzification
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 

Viewers also liked

A simplex nelder mead genetic algorithm for minimizing molecular potential en...
A simplex nelder mead genetic algorithm for minimizing molecular potential en...A simplex nelder mead genetic algorithm for minimizing molecular potential en...
A simplex nelder mead genetic algorithm for minimizing molecular potential en...
Aboul Ella Hassanien
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
Marianne Maluyo
 

Viewers also liked (11)

Jack rental-car-problem
Jack rental-car-problemJack rental-car-problem
Jack rental-car-problem
 
Bluetooth Technoloty
Bluetooth TechnolotyBluetooth Technoloty
Bluetooth Technoloty
 
Self Organization Map
Self Organization MapSelf Organization Map
Self Organization Map
 
Neural networks
Neural networksNeural networks
Neural networks
 
Parametric and non parametric classifiers
Parametric and non parametric classifiersParametric and non parametric classifiers
Parametric and non parametric classifiers
 
A simplex nelder mead genetic algorithm for minimizing molecular potential en...
A simplex nelder mead genetic algorithm for minimizing molecular potential en...A simplex nelder mead genetic algorithm for minimizing molecular potential en...
A simplex nelder mead genetic algorithm for minimizing molecular potential en...
 
A survey on ant colony clustering papers
A survey on ant colony clustering papersA survey on ant colony clustering papers
A survey on ant colony clustering papers
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 
various applied optimization techniques and their role in pharmaceutical scie...
various applied optimization techniques and their role in pharmaceutical scie...various applied optimization techniques and their role in pharmaceutical scie...
various applied optimization techniques and their role in pharmaceutical scie...
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
 
An introduction to Autonomous mobile robots
An introduction to Autonomous mobile robotsAn introduction to Autonomous mobile robots
An introduction to Autonomous mobile robots
 

Similar to Penalty function

Intro to Feature Selection
Intro to Feature SelectionIntro to Feature Selection
Intro to Feature Selection
chenhm
 
MDPSO_SDM_2012_Souma
MDPSO_SDM_2012_SoumaMDPSO_SDM_2012_Souma
MDPSO_SDM_2012_Souma
MDO_Lab
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luv
Ashok Sharma
 
Machine learning and Neural Networks
Machine learning and Neural NetworksMachine learning and Neural Networks
Machine learning and Neural Networks
butest
 
4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf
BechanYadav4
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in Engineering
Prince Jain
 

Similar to Penalty function (20)

Intro to Feature Selection
Intro to Feature SelectionIntro to Feature Selection
Intro to Feature Selection
 
Deep learning Unit1 BasicsAllllllll.pptx
Deep learning Unit1 BasicsAllllllll.pptxDeep learning Unit1 BasicsAllllllll.pptx
Deep learning Unit1 BasicsAllllllll.pptx
 
4-Unconstrained Single Variable Optimization-Methods and Application.pdf
4-Unconstrained Single Variable Optimization-Methods and Application.pdf4-Unconstrained Single Variable Optimization-Methods and Application.pdf
4-Unconstrained Single Variable Optimization-Methods and Application.pdf
 
Finding Robust Solutions to Requirements Models
Finding Robust Solutions to Requirements ModelsFinding Robust Solutions to Requirements Models
Finding Robust Solutions to Requirements Models
 
MDPSO_SDM_2012_Souma
MDPSO_SDM_2012_SoumaMDPSO_SDM_2012_Souma
MDPSO_SDM_2012_Souma
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luv
 
[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh
 
Master of Science Thesis Defense - Souma (FIU)
Master of Science Thesis Defense - Souma (FIU)Master of Science Thesis Defense - Souma (FIU)
Master of Science Thesis Defense - Souma (FIU)
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
Techniques in marketing research
Techniques in marketing researchTechniques in marketing research
Techniques in marketing research
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4
Unit 4Unit 4
Unit 4
 
Certified global minima
Certified global minimaCertified global minima
Certified global minima
 
Machine learning and Neural Networks
Machine learning and Neural NetworksMachine learning and Neural Networks
Machine learning and Neural Networks
 
4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf
 
Optmization techniques
Optmization techniquesOptmization techniques
Optmization techniques
 
optmizationtechniques.pdf
optmizationtechniques.pdfoptmizationtechniques.pdf
optmizationtechniques.pdf
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in Engineering
 
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
Hybrid Simulated Annealing and Nelder-Mead Algorithm for Solving Large-Scale ...
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
 

More from Zahra Sadeghi

More from Zahra Sadeghi (13)

Maritime Anomaly Detection
Maritime Anomaly DetectionMaritime Anomaly Detection
Maritime Anomaly Detection
 
Quality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentQuality Assurance in Modern Software Development
Quality Assurance in Modern Software Development
 
Attention mechanism in brain and deep neural network
Attention mechanism in brain and deep neural networkAttention mechanism in brain and deep neural network
Attention mechanism in brain and deep neural network
 
Perception, representation, structure, and recognition
Perception, representation, structure, and recognitionPerception, representation, structure, and recognition
Perception, representation, structure, and recognition
 
Pittssburgh approach
Pittssburgh approachPittssburgh approach
Pittssburgh approach
 
Semantic Search with Semantic Web
Semantic Search with Semantic WebSemantic Search with Semantic Web
Semantic Search with Semantic Web
 
Interval programming
Interval programming Interval programming
Interval programming
 
16-bit microprocessors
16-bit microprocessors16-bit microprocessors
16-bit microprocessors
 
Logic converter
Logic converterLogic converter
Logic converter
 
Ms dos boot process
Ms dos boot process Ms dos boot process
Ms dos boot process
 
An Introduction to threads
An Introduction to threadsAn Introduction to threads
An Introduction to threads
 
An intoroduction to Multimedia
An intoroduction to MultimediaAn intoroduction to Multimedia
An intoroduction to Multimedia
 
sampling
samplingsampling
sampling
 

Recently uploaded

Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Lokesh Kothari
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
ssuser79fe74
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Sérgio Sacani
 
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
Lokesh Kothari
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
Sérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 

Recently uploaded (20)

Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 

Penalty function

  • 3. 3  A constrained optimization problem is usually written as a nonlinear optimization problem:  x is the vector of solutions,  F is the feasible region and S is the whole search space  There are q inequality and m-q equality constraints  f(x) is usually called the objective function or criterion function.  Objective function and constraints could be linear or nonlinear in the problem.  Vector x that satisfies all the constraints is a feasible solution of the problem.  nonlinear programming problem is to find a point x* ∈ F such that F(x *) ≤f(x) for all x ∈F CONSTRAINED OPTIMIZATION
  • 4. 4  Category 1: Methods based on penalty functions  - Death Penalty  - Static Penalties  - Dynamic Penalties  - Annealing Penalties  - Adaptive Penalties  - Segregated GA  - Co-evolutionary Penalties  Category 2: Methods based on a search of feasible solutions  - Repairing unfeasible individuals  - Superiority of feasible points  - Behavioral memory  Category 3: Methods based on preserving feasibility of solutions  - The GENOCOP system  - Searching the boundary of feasible region  - Homomorphous mapping  Category 4: Hybrid methods CONSTRAINT HANDLING in GAs
  • 6. 6 Death Penalty  rejects unfeasible solutions from the population  considering only the points that are in feasible  when the problem is highly constrained, the algorithm will spend a lot of time to find too few feasible solutions.  region of the search space prevents to find better solutions.
  • 7. 7  to penalize infeasible solutions is to apply a constant penalty to those solutions which violate feasibility in any way.  penalty parameters don’t depend on the current generation number and a constant penalty is applied to unfeasible solutions.  The penalty function for a problem with m constraints fp(x) is the penalized objective function, f(x) is the unpenalized objective function, Ci is a constant imposed for violation of constraint i. Static Penalties
  • 8. 8 Cnt’d…  More common and more effective is to penalize according of distance to feasibility,  assuming distance = number of constraints violated.  A more sophisticated and more effective penalty includes a distance metric for each constraint, and adds a penalty which becomes more severe with distance from feasibility.  distance metric , provides information concerning the nearness of the solution to feasibility, this nearness to feasibility is relevant in the same magnitude to the fitness of the solution.  A general formulation is as follows for a minimization problem: di is the distance metric of constraint i applied to solution x k is user defined exponent, with values of k of 1 or 2 often used. Selection of Ci is more difficult.
  • 9. 9 Homaifar, Lai, & Qi method  Steps :  Generate l levels of violation for each constraint,  Generate penalty coefficient Rij (i=1,...,l ; j=1,…,m) for each level of violation and each constraint. The bigger coefficients are given to the bigger violation levels,  Generate a random population using both feasible and unfeasible individuals,  Evaluate individuals using Rij indicates the penalty coefficient corresponding to jth constraint and ith violation level. m is the number of constraints.
  • 10. 10 Dynamic Penalties  si(t) is a monotonically non-decreasing in value with t.  Metrics for t include number of generations or the number of solutions searched.  Recent uses of this approach include Joines and Houck
  • 11. 11  penalty parameters are usually dependent on the current generation number. Joines and Houck
  • 12. 12 Michalewicz and Attia : simulated annealing Steps:  Separate all constraints into four subsets: linear equations, linear inequalities,nonlinear equations and nonlinear inequalities,  starting point =a random single point that satisfies linear constraints. initial population = of copies of this single point  Create a set of active constraints A = nonlinear equations and violated nonlinear inequalities,  Set τ=τ0,  Evolve the population,  If τ<τf (freezing point) stop the procedure, otherwise, - Diminish τ, - Use the best solution as a starting point for next generation, - Update A, -Repeat the previous step of the main part.  The algorithm is terminated at a previously determined freezing point τf . Michalewicz and Attia used τ0=1, τi+1=0.1τi , τf=0.000001 Annealing Penalties
  • 13. 13 Adaptive Penalties  not adaptive to the ongoing success of the search and  cannot guide the search to particularly attractive regions or away from unattractive regions based on what has already been observed.  Bean and Hadj-Alouane (1992) propose penalty functions which are revised based on the feasibility or infeasibility of the best, penalized solution during recent generations
  • 14. 14 Smith and Tate (1993). •NFT is the threshold distance from the feasible region at which the user would consider the search as “getting warm.” • Unfeasible solutions at this distance are considered to be reasonable since they are very close to the feasible region. •The penalty function encourages the evolutionary algorithm to explore within the feasible region and the NFT-neighborhood of the feasible region, and discourage search beyond that threshold. Fall(t) denotes the unpenalized value of the best solution yet found, Ffeas(t) denotes the value of the best feasible solution yet found.
  • 15. 15 Segregated GA  set two penalty parameters (say, p1 and p2) in two different populations.  aim : to overcome the problem of too high and too low penalties  If a small value is selected for p1 and a large value for p2, a simultaneous convergence from feasible and unfeasible sides can be achieved. Steps:  - Generate 2 x pop individuals at random (pop is the population size),  - Design two different evaluation functions:  - Evaluate each individual according to two evaluation functions,  - Create two ranked lists according to f1(x) and f2 (x),  - Combine two ranked lists in a single one ranked population with size pop,  - Apply genetic operators,  - Evaluate the new population using both penalty parameters,  - From the old and new populations generate two populations of the size pop each,  - Repeat the last four steps of the process.