Solving Optimization Problems
Debasis Samanta
IIT Kharagpur dsamanta@sit.iitkgp.ernet.in
06.03.2018
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 1 / 22
Solving Optimization Problems Debasis Samanta IIT Kharagpur - - PowerPoint PPT Presentation
Solving Optimization Problems Debasis Samanta IIT Kharagpur dsamanta@sit.iitkgp.ernet.in 06.03.2018 Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 1 / 22 Introduction to Solving Optimization Problems
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 1 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 2 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 3 / 22
Diameter d
Length l
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 4 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 5 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 6 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 7 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 8 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 9 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 10 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 11 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 12 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 13 / 22
Optimization Methods Linear Programming Method Non linear Programming Method Specialized Algorithm
Graphical Method Simplex Method
Single Variable Multi Variable Numerical Method Analytical Method Elimination Method Interpolation Method
Dynamic Programing Branch & Bound Greedy Method Unrestricted method Exhaustive method Fibonacci method Dichotomous Search Golden Section method Quadratic Cubic Direct root
Constrained Optimization Unconstrained Optimization
Unrestricted method Exhaustive method Fibonacci method Random Walk Univeriate Method Pattern Search Steepest Descent Conjugate Gradient Quasi Newton Variable Match Divide & Conquer Lagrangian method
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 14 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 15 / 22
x1* Maximum Minimum Saddle Points y x x2*
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 16 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 17 / 22
x1* x4* x3* x2* z1* z4* z3* z2* y x
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 18 / 22
y x x=x2* x=x1* x=x3* Optimal Solution
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 19 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 20 / 22
Maximization Problem Minimization Problem Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 21 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications (IT60108) 06.03.2018 22 / 22
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 3 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 4 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 5 / 26
Chromosome Nucleus Other cell bodies
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 6 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 7 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 8 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 9 / 26
1
2
3
4
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 10 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 11 / 26
Genetics Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 12 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 13 / 26
Start Initial Population
Converge ?
Stop
Selection
Yes No
Reproduction Note:
An individual in the population is corresponding to a possible solution
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 14 / 26
1
2
3
4
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 15 / 26
Start Initialize population
Converge ?
Stop Evaluate the fitness Select Mate Crossover Mutation Inversion Yes No
Reproduction
Define parameters Parameter representation Create population Apply cost function to each of the population
Selection
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 16 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 17 / 26
1
2
3
4
5
6
7
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 18 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 19 / 26
Start Create Initial population
Convergence Criteria meet ?
Stop Select Np individuals (with repetition) Create mating pool (randomly) (Pair of parent for generating new offspring) Perform crossover and create new offsprings Mutate the offspring Perform inversion on the offspring Yes No Evaluate each individuals Replace all individuals in the last generation with new offsprings created Return the individual(s) with best fitness value Reproduction
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 20 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 21 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 22 / 26
Start Generate Initial population of size N
Reject the
duplicated
Stop Evaluate the offspring If the offspring are better than the worst individuals then replace the worst individuals with the offspring Yes No Evaluate each individuals Return the solutions Select two individual without repetition Crossover Mutation Inversion
Convergence meet ?
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 23 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 24 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 25 / 26
Debasis Samanta (IIT Kharagpur) Soft Computing Applications 06.03.2018 26 / 26