SlideShare a Scribd company logo
D Nagesh Kumar, IISc Optimization Methods: M1L41
Introduction and Basic Concepts
Classical and
Advanced Techniques
for Optimization
D Nagesh Kumar, IISc Optimization Methods: M1L42
Classical Optimization Techniques
The classical optimization techniques are useful in finding the optimum
solution or unconstrained maxima or minima of continuous and differentiable
functions.
These are analytical methods and make use of differential calculus in locating
the optimum solution.
The classical methods have limited scope in practical applications as some of
them involve objective functions which are not continuous and/or
differentiable.
Yet, the study of these classical techniques of optimization form a basis for
developing most of the numerical techniques that have evolved into advanced
techniques more suitable to today’s practical problems
D Nagesh Kumar, IISc Optimization Methods: M1L43
Classical Optimization Techniques
(contd.)
These methods assume that the function is differentiable twice with respect to the
design variables and the derivatives are continuous.
Three main types of problems can be handled by the classical optimization
techniques:
– single variable functions
– multivariable functions with no constraints,
– multivariable functions with both equality and inequality constraints. In problems with
equality constraints the Lagrange multiplier method can be used. If the problem has
inequality constraints, the Kuhn-Tucker conditions can be used to identify the optimum
solution.
These methods lead to a set of nonlinear simultaneous equations that may be
difficult to solve. These methods of optimization are discussed in Module 2.
D Nagesh Kumar, IISc Optimization Methods: M1L44
Numerical Methods of Optimization
Linear programming: studies the case in which the objective function
f is linear and the set A is specified using only linear equalities and
inequalities. (A is the design variable space)
Integer programming: studies linear programs in which some or all
variables are constrained to take on integer values.
Quadratic programming: allows the objective function to have
quadratic terms, while the set A must be specified with linear equalities
and inequalities
Nonlinear programming: studies the general case in which the
objective function or the constraints or both contain nonlinear parts.
D Nagesh Kumar, IISc Optimization Methods: M1L45
Numerical Methods of Optimization
(contd.)
• Stochastic programming: studies the case in which some of the
constraints depend on random variables.
• Dynamic programming: studies the case in which the optimization
strategy is based on splitting the problem into smaller sub-problems.
• Combinatorial optimization: is concerned with problems where the
set of feasible solutions is discrete or can be reduced to a discrete
one.
• Infinite-dimensional optimization: studies the case when the set of
feasible solutions is a subset of an infinite-dimensional space, such as
a space of functions.
• Constraint satisfaction: studies the case in which the objective
function f is constant (this is used in artificial intelligence, particularly in
automated reasoning).
D Nagesh Kumar, IISc Optimization Methods: M1L46
Advanced Optimization Techniques
Hill climbing: it is a graph search algorithm where the current path is
extended with a successor node which is closer to the solution than
the end of the current path.
In simple hill climbing, the first closer node is chosen whereas in
steepest ascent hill climbing all successors are compared and the
closest to the solution is chosen. Both forms fail if there is no closer
node. This may happen if there are local maxima in the search space
which are not solutions.
Hill climbing is used widely in artificial intelligence fields, for reaching a
goal state from a starting node. Choice of next node/ starting node can
be varied to give a number of related algorithms.
D Nagesh Kumar, IISc Optimization Methods: M1L47
Simulated annealing
The name and inspiration come from annealing process in
metallurgy, a technique involving heating and controlled cooling of a
material to increase the size of its crystals and reduce their defects.
– The heat causes the atoms to become unstuck from their initial positions
(a local minimum of the internal energy) and wander randomly through
states of higher energy;
– the slow cooling gives them more chances of finding configurations with
lower internal energy than the initial one.
In the simulated annealing method, each point of the search space
is compared to a state of some physical system, and the function to
be minimized is interpreted as the internal energy of the system in
that state. Therefore the goal is to bring the system, from an arbitrary
initial state, to a state with the minimum possible energy.
D Nagesh Kumar, IISc Optimization Methods: M1L48
Genetic algorithms
A genetic algorithm (GA) is a local search technique used to
find approximate solutions to optimization and search problems.
Genetic algorithms are a particular class of evolutionary
algorithms that use techniques inspired by evolutionary biology
such as inheritance, mutation, selection, and crossover (also
called recombination).
D Nagesh Kumar, IISc Optimization Methods: M1L49
Genetic algorithms (contd.)
Genetic algorithms are typically implemented as a computer
simulation, in which a population of abstract representations (called
chromosomes) of candidate solutions (called individuals) to an
optimization problem, evolves toward better solutions.
The evolution starts from a population of completely random
individuals and occurs in generations.
In each generation, the fitness of the whole population is evaluated,
multiple individuals are stochastically selected from the current
population (based on their fitness), and modified (mutated or
recombined) to form a new population.
The new population is then used in the next iteration of the algorithm.
D Nagesh Kumar, IISc Optimization Methods: M1L410
Ant colony optimization
In the real world, ants (initially) wander randomly, and upon finding food return
to their colony while laying down pheromone trails. If other ants find such a
path, they are likely not to keep traveling at random, but instead follow the trail
laid by earlier ants, returning and reinforcing it if they eventually find food
Over time, however, the pheromone trail starts to evaporate, thus reducing its
attractive strength. The more time it takes for an ant to travel down the path
and back again, the more time the pheromones have to evaporate.
A short path, by comparison, gets marched over faster, and thus the
pheromone density remains high
Pheromone evaporation has also the advantage of avoiding the convergence to
a locally optimal solution. If there were no evaporation at all, the paths chosen
by the first ants would tend to be excessively attractive to the following ones. In
that case, the exploration of the solution space would be constrained.
D Nagesh Kumar, IISc Optimization Methods: M1L411
Ant colony optimization (contd.)
Thus, when one ant finds a good (short) path from the colony to a food source,
other ants are more likely to follow that path, and such positive feedback
eventually leaves all the ants following a single path.
The idea of the ant colony algorithm is to mimic this behavior with "simulated
ants" walking around the search space representing the problem to be solved.
Ant colony optimization algorithms have been used to produce near-optimal
solutions to the traveling salesman problem.
They have an advantage over simulated annealing and genetic algorithm
approaches when the graph may change dynamically. The ant colony algorithm
can be run continuously and can adapt to changes in real time.
This is of interest in network routing and urban transportation systems.
D Nagesh Kumar, IISc Optimization Methods: M1L412
Thank You

More Related Content

PDF
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
DOCX
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
PPTX
Metaheuristics
PDF
final paper1
PDF
Dv33736740
PDF
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
DOC
Dowload Paper.doc.doc
PDF
A Literature Survey of Benchmark Functions For Global Optimization Problems
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
Metaheuristics
final paper1
Dv33736740
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Dowload Paper.doc.doc
A Literature Survey of Benchmark Functions For Global Optimization Problems

What's hot (12)

PDF
Nature-Inspired Metaheuristic Algorithms
PPTX
Review On Molecular Modeling
PDF
Feature selection using modified particle swarm optimisation for face recogni...
PDF
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
DOCX
A fast clustering based feature subset selection algorithm for high-dimension...
PDF
Parallel evolutionary approach paper
PPTX
Optimization technique genetic algorithm
DOCX
A fast clustering based feature subset selection algorithm for high-dimension...
PDF
Sakanashi, h.; kakazu, y. (1994): co evolving genetic algorithm with filtered...
PPT
High dimesional data (FAST clustering ALG) PPT
PDF
Optimal feature selection from v mware esxi 5.1 feature set
PDF
ON FEATURE SELECTION ALGORITHMS AND FEATURE SELECTION STABILITY MEASURES: A C...
Nature-Inspired Metaheuristic Algorithms
Review On Molecular Modeling
Feature selection using modified particle swarm optimisation for face recogni...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
A fast clustering based feature subset selection algorithm for high-dimension...
Parallel evolutionary approach paper
Optimization technique genetic algorithm
A fast clustering based feature subset selection algorithm for high-dimension...
Sakanashi, h.; kakazu, y. (1994): co evolving genetic algorithm with filtered...
High dimesional data (FAST clustering ALG) PPT
Optimal feature selection from v mware esxi 5.1 feature set
ON FEATURE SELECTION ALGORITHMS AND FEATURE SELECTION STABILITY MEASURES: A C...
Ad

Viewers also liked (9)

PPT
Optimization toolbox presentation
PDF
A Modular Genetic Algorithm Specialized for Linear Constraints
PDF
An algorithm for solving integer linear programming problems
PPTX
Genetic programming
PDF
Optimization in scilab
PDF
Karmarkar's Algorithm For Linear Programming Problem
PPTX
Genetic Algorithm by Example
PPT
Genetic Algorithms - Artificial Intelligence
PPTX
Simplex Algorithm
Optimization toolbox presentation
A Modular Genetic Algorithm Specialized for Linear Constraints
An algorithm for solving integer linear programming problems
Genetic programming
Optimization in scilab
Karmarkar's Algorithm For Linear Programming Problem
Genetic Algorithm by Example
Genetic Algorithms - Artificial Intelligence
Simplex Algorithm
Ad

Similar to Numerical analysis genetic algorithms (20)

PDF
Cuckoo Search: Recent Advances and Applications
PPT
UNIT-5 Optimization (Part-1).ppt
PDF
VET4SBO Level 2 module 2 - unit 1 - v1.0 en
PDF
Evolutionary computation 5773-lecture03-Fall24 (8-23-24).pdf
PDF
Recent research in finding the optimal path by ant colony optimization
PPT
Heuristic approach optimization
PDF
VET4SBO Level 2 module 2 - unit 2 - v1.0 en
PDF
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
PDF
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
PDF
Fundamentals of Genetic Algorithms (Soft Computing)
PDF
Efficient evaluation of flatness error from Coordinate Measurement Data using...
PPTX
Lecture 2 Basic Concepts of Optimal Design and Optimization Techniques final1...
PDF
Computational optimization, modelling and simulation: Recent advances and ove...
PDF
Optimazation
PPTX
Introduction to optimization technique
PDF
Numerical analysis historicl devpt
PDF
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
PDF
50120140504022
PDF
Advanced Optimization Techniques
PPTX
Review And Evaluations Of Shortest Path Algorithms
Cuckoo Search: Recent Advances and Applications
UNIT-5 Optimization (Part-1).ppt
VET4SBO Level 2 module 2 - unit 1 - v1.0 en
Evolutionary computation 5773-lecture03-Fall24 (8-23-24).pdf
Recent research in finding the optimal path by ant colony optimization
Heuristic approach optimization
VET4SBO Level 2 module 2 - unit 2 - v1.0 en
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
Fundamentals of Genetic Algorithms (Soft Computing)
Efficient evaluation of flatness error from Coordinate Measurement Data using...
Lecture 2 Basic Concepts of Optimal Design and Optimization Techniques final1...
Computational optimization, modelling and simulation: Recent advances and ove...
Optimazation
Introduction to optimization technique
Numerical analysis historicl devpt
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
50120140504022
Advanced Optimization Techniques
Review And Evaluations Of Shortest Path Algorithms

More from SHAMJITH KM (20)

PDF
Salah of the Prophet (ﷺ).pdf
PPTX
Construction Materials and Engineering - Module IV - Lecture Notes
PPTX
Construction Materials and Engineering - Module III - Lecture Notes
PPTX
Construction Materials and Engineering - Module II - Lecture Notes
PPTX
Construction Materials and Engineering - Module I - Lecture Notes
DOCX
Computing fundamentals lab record - Polytechnics
DOCX
Concrete lab manual - Polytechnics
DOCX
Concrete Technology Study Notes
PDF
നബി(സ)യുടെ നമസ്കാരം - രൂപവും പ്രാര്ത്ഥനകളും
DOCX
Design of simple beam using staad pro - doc file
PDF
Design of simple beam using staad pro
PPTX
Python programs - PPT file (Polytechnics)
PDF
Python programs - first semester computer lab manual (polytechnics)
PDF
Python programming Workshop SITTTR - Kalamassery
PDF
Analysis of simple beam using STAAD Pro (Exp No 1)
PDF
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
PDF
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
PDF
CAD Lab model viva questions
PPTX
Brain Computer Interface (BCI) - seminar PPT
PDF
Surveying - Module iii-levelling only note
Salah of the Prophet (ﷺ).pdf
Construction Materials and Engineering - Module IV - Lecture Notes
Construction Materials and Engineering - Module III - Lecture Notes
Construction Materials and Engineering - Module II - Lecture Notes
Construction Materials and Engineering - Module I - Lecture Notes
Computing fundamentals lab record - Polytechnics
Concrete lab manual - Polytechnics
Concrete Technology Study Notes
നബി(സ)യുടെ നമസ്കാരം - രൂപവും പ്രാര്ത്ഥനകളും
Design of simple beam using staad pro - doc file
Design of simple beam using staad pro
Python programs - PPT file (Polytechnics)
Python programs - first semester computer lab manual (polytechnics)
Python programming Workshop SITTTR - Kalamassery
Analysis of simple beam using STAAD Pro (Exp No 1)
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
CAD Lab model viva questions
Brain Computer Interface (BCI) - seminar PPT
Surveying - Module iii-levelling only note

Recently uploaded (20)

PPT
Mechanical Engineering MATERIALS Selection
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
composite construction of structures.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Artificial Intelligence
DOCX
573137875-Attendance-Management-System-original
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Digital Logic Computer Design lecture notes
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mechanical Engineering MATERIALS Selection
Operating System & Kernel Study Guide-1 - converted.pdf
Safety Seminar civil to be ensured for safe working.
OOP with Java - Java Introduction (Basics)
Model Code of Practice - Construction Work - 21102022 .pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
composite construction of structures.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Artificial Intelligence
573137875-Attendance-Management-System-original
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Digital Logic Computer Design lecture notes
Embodied AI: Ushering in the Next Era of Intelligent Systems
UNIT 4 Total Quality Management .pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks

Numerical analysis genetic algorithms

  • 1. D Nagesh Kumar, IISc Optimization Methods: M1L41 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization
  • 2. D Nagesh Kumar, IISc Optimization Methods: M1L42 Classical Optimization Techniques The classical optimization techniques are useful in finding the optimum solution or unconstrained maxima or minima of continuous and differentiable functions. These are analytical methods and make use of differential calculus in locating the optimum solution. The classical methods have limited scope in practical applications as some of them involve objective functions which are not continuous and/or differentiable. Yet, the study of these classical techniques of optimization form a basis for developing most of the numerical techniques that have evolved into advanced techniques more suitable to today’s practical problems
  • 3. D Nagesh Kumar, IISc Optimization Methods: M1L43 Classical Optimization Techniques (contd.) These methods assume that the function is differentiable twice with respect to the design variables and the derivatives are continuous. Three main types of problems can be handled by the classical optimization techniques: – single variable functions – multivariable functions with no constraints, – multivariable functions with both equality and inequality constraints. In problems with equality constraints the Lagrange multiplier method can be used. If the problem has inequality constraints, the Kuhn-Tucker conditions can be used to identify the optimum solution. These methods lead to a set of nonlinear simultaneous equations that may be difficult to solve. These methods of optimization are discussed in Module 2.
  • 4. D Nagesh Kumar, IISc Optimization Methods: M1L44 Numerical Methods of Optimization Linear programming: studies the case in which the objective function f is linear and the set A is specified using only linear equalities and inequalities. (A is the design variable space) Integer programming: studies linear programs in which some or all variables are constrained to take on integer values. Quadratic programming: allows the objective function to have quadratic terms, while the set A must be specified with linear equalities and inequalities Nonlinear programming: studies the general case in which the objective function or the constraints or both contain nonlinear parts.
  • 5. D Nagesh Kumar, IISc Optimization Methods: M1L45 Numerical Methods of Optimization (contd.) • Stochastic programming: studies the case in which some of the constraints depend on random variables. • Dynamic programming: studies the case in which the optimization strategy is based on splitting the problem into smaller sub-problems. • Combinatorial optimization: is concerned with problems where the set of feasible solutions is discrete or can be reduced to a discrete one. • Infinite-dimensional optimization: studies the case when the set of feasible solutions is a subset of an infinite-dimensional space, such as a space of functions. • Constraint satisfaction: studies the case in which the objective function f is constant (this is used in artificial intelligence, particularly in automated reasoning).
  • 6. D Nagesh Kumar, IISc Optimization Methods: M1L46 Advanced Optimization Techniques Hill climbing: it is a graph search algorithm where the current path is extended with a successor node which is closer to the solution than the end of the current path. In simple hill climbing, the first closer node is chosen whereas in steepest ascent hill climbing all successors are compared and the closest to the solution is chosen. Both forms fail if there is no closer node. This may happen if there are local maxima in the search space which are not solutions. Hill climbing is used widely in artificial intelligence fields, for reaching a goal state from a starting node. Choice of next node/ starting node can be varied to give a number of related algorithms.
  • 7. D Nagesh Kumar, IISc Optimization Methods: M1L47 Simulated annealing The name and inspiration come from annealing process in metallurgy, a technique involving heating and controlled cooling of a material to increase the size of its crystals and reduce their defects. – The heat causes the atoms to become unstuck from their initial positions (a local minimum of the internal energy) and wander randomly through states of higher energy; – the slow cooling gives them more chances of finding configurations with lower internal energy than the initial one. In the simulated annealing method, each point of the search space is compared to a state of some physical system, and the function to be minimized is interpreted as the internal energy of the system in that state. Therefore the goal is to bring the system, from an arbitrary initial state, to a state with the minimum possible energy.
  • 8. D Nagesh Kumar, IISc Optimization Methods: M1L48 Genetic algorithms A genetic algorithm (GA) is a local search technique used to find approximate solutions to optimization and search problems. Genetic algorithms are a particular class of evolutionary algorithms that use techniques inspired by evolutionary biology such as inheritance, mutation, selection, and crossover (also called recombination).
  • 9. D Nagesh Kumar, IISc Optimization Methods: M1L49 Genetic algorithms (contd.) Genetic algorithms are typically implemented as a computer simulation, in which a population of abstract representations (called chromosomes) of candidate solutions (called individuals) to an optimization problem, evolves toward better solutions. The evolution starts from a population of completely random individuals and occurs in generations. In each generation, the fitness of the whole population is evaluated, multiple individuals are stochastically selected from the current population (based on their fitness), and modified (mutated or recombined) to form a new population. The new population is then used in the next iteration of the algorithm.
  • 10. D Nagesh Kumar, IISc Optimization Methods: M1L410 Ant colony optimization In the real world, ants (initially) wander randomly, and upon finding food return to their colony while laying down pheromone trails. If other ants find such a path, they are likely not to keep traveling at random, but instead follow the trail laid by earlier ants, returning and reinforcing it if they eventually find food Over time, however, the pheromone trail starts to evaporate, thus reducing its attractive strength. The more time it takes for an ant to travel down the path and back again, the more time the pheromones have to evaporate. A short path, by comparison, gets marched over faster, and thus the pheromone density remains high Pheromone evaporation has also the advantage of avoiding the convergence to a locally optimal solution. If there were no evaporation at all, the paths chosen by the first ants would tend to be excessively attractive to the following ones. In that case, the exploration of the solution space would be constrained.
  • 11. D Nagesh Kumar, IISc Optimization Methods: M1L411 Ant colony optimization (contd.) Thus, when one ant finds a good (short) path from the colony to a food source, other ants are more likely to follow that path, and such positive feedback eventually leaves all the ants following a single path. The idea of the ant colony algorithm is to mimic this behavior with "simulated ants" walking around the search space representing the problem to be solved. Ant colony optimization algorithms have been used to produce near-optimal solutions to the traveling salesman problem. They have an advantage over simulated annealing and genetic algorithm approaches when the graph may change dynamically. The ant colony algorithm can be run continuously and can adapt to changes in real time. This is of interest in network routing and urban transportation systems.
  • 12. D Nagesh Kumar, IISc Optimization Methods: M1L412 Thank You