Exact and heuristics algorithms

Slides:



Advertisements
Similar presentations
Constraint Optimization We are interested in the general non-linear programming problem like the following Find x which optimizes f(x) subject to gi(x)
Advertisements

CS6800 Advanced Theory of Computation
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Exact and heuristics algorithms
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
ICS-171:Notes 4: 1 Notes 4: Optimal Search ICS 171 Summer 1999.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
Math443/543 Mathematical Modeling and Optimization
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
Genetic Algorithms Learning Machines for knowledge discovery.
EAs for Combinatorial Optimization Problems BLG 602E.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
7/2/2015Intelligent Systems and Soft Computing1 Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Toshihide IBARAKI Mikio KUBO Tomoyasu MASUDA Takeaki UNO Mutsunori YAGIURA Effective Local Search Algorithms for the Vehicle Routing Problem with General.
Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department.
1. Optimization and its necessity. Classes of optimizations problems. Evolutionary optimization. –Historical overview. –How it works?! Several Applications.
Evolutionary algorithms
Ranga Rodrigo April 6, 2014 Most of the sides are from the Matlab tutorial. 1.
Genetic Algorithm.
Computer Implementation of Genetic Algorithm
Evolutionary Intelligence
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory Mixed Integer Problems Most optimization algorithms deal.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Neural and Evolutionary Computing - Lecture 5 1 Evolutionary Computing. Genetic Algorithms Basic notions The general structure of an evolutionary algorithm.
Computational Complexity Jang, HaYoung BioIntelligence Lab.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
A Hybrid Genetic Algorithm for the Periodic Vehicle Routing Problem with Time Windows Michel Toulouse 1,2 Teodor Gabriel Crainic 2 Phuong Nguyen 2 1 Oklahoma.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
 Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms n Introduction, or can evolution be intelligent? n Simulation.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Evolutionary Algorithms K. Ganesh Research Scholar, Ph.D., Industrial Management Division, Humanities and Social Sciences Department, Indian Institute.
Optimization Problems
Automated discovery in math Machine learning techniques (GP, ILP, etc.) have been successfully applied in science Machine learning techniques (GP, ILP,
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Hirophysics.com The Genetic Algorithm vs. Simulated Annealing Charles Barnes PHY 327.
Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.
A MapReduced Based Hybrid Genetic Algorithm Using Island Approach for Solving Large Scale Time Dependent Vehicle Routing Problem Rohit Kondekar BT08CSE053.
Genetic Algorithms.
Digital Optimization Martynas Vaidelys.
Chapter 6: Genetic Algorithms
Intelligent Systems and Soft Computing
Meta-Heuristic Algorithms 16B1NCI637
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Chapter 11 Limitations of Algorithm Power
Boltzmann Machine (BM) (§6.4)
Artificial Intelligence CIS 342
Md. Tanveer Anwar University of Arkansas
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Beyond Classical Search
Presentation transcript:

Exact and heuristics algorithms

Introduction An optimization problem is the problem of finding the best solution from all feasible solutions Example: we want the minimum cost path from s to a goal t Concept of cost

Introduction Navigation path-cost = distance to node in miles minimum => minimum time, least fuel

Introduction VLSI Design (Very-large-scale integration) path-cost = length of wires between chips minimum => least clock/signal delay

Introduction Puzzle path-cost = number of pieces moved minimum => least time to solve the puzzle

Combinatorial optimization problem A set of solution for combinatory optimization problem can be mathematically modeled using: Variables vector x = (x1, x2, ..., xn), Variable domaine D = (D1, D2, ..., Dn), or (Di) i=1,...,n finite sets, Constraints set, F: Objective function to minimize or to maximize, A set of all feasible solutions S = {x = (x1, x2, , xn)} ϵ D / x satisfies all the constraints S is also called search space.

Combinatorial optimization problem Facilities layout problem is consisted of a variety of problems. The main problems are: Storage (warehouses) architectural design and general layout problem, picking, response time for the order processing, minimization of travel distances in the warehouse, routing of pickers or automated guided vehicles, personnel and machine Scheduling. Common problem

Combinatorial optimization problem Example: Warehouse location problem Warehouses location problem: It aims to compute optimal location for the warehouses in given area based on location of factories with their production capacities, the location of clients with their demands, warehouse storage capacities. Inputs Math Model Solution Outputs Common problem

Combinatorial optimization problem Example: Warehouse location problem We need to answer these questions: how many warehouse are needed in a given area? Where can we deploy them? How to assign clients to the warehouse and respect constraints? Common problem

Combinatorial optimization problem So, we can model this problem as follows: Let I={1,…,m} be the set of possible locations to establish a warehouse, J={ 1,…,n} be the set of customers, Cij denoting the amount of transportation from warehouse i to customer j, dj be the demand of customer j. ai be the opening cost of warehouse i. Let Yi be a decision variable that is not null if the warehouse i is opened and Xij a binary variable not null if the client j is assigned to warehouse i, and Wi is the ith warehouse capacity. These variables are summarized in the following table. Common problem

Combinatorial optimization problem Variable Notation Investment cost to build warehouse i ai ith warehouse capacity Wi Binary decision variable of affecting client j to warehouse i Xij Decision variable to open or not warehouse i yi Transportation Cost of client j toward the warehouse i Cij Client j demand dj Max number of initial warehouse m Client number n Common problem

Combinatorial optimization problem Objectives functions: F1 minimizes the investment cost , F2 minimizes the transportation cost, We combine the two functions into a single objective function F: With: Common problem

Combinatorial optimization problem Constraints Ensures that client j is affected only to one warehouse; guarantees that the sum of the demand dj is smaller than the warehouse capacity; Integrity constraints Common problem

Exact and heuristic solution An exact algorithm is typically deterministic and proven to yield an optimal result. A heuristic has no proof of correctness, often involves random elements, and may not yield optimal results. Lot of iterations, lot of constraints  Big computation resources  Long time Does not explore all possible states of the problem  short time Exact solution Optimal (Good solution) What to use? When?

Complexity of a problem The theory of classifying problems based on how difficult they are to solve: P-problem (polynomial-time) NP-problem (nondeterministic polynomial-time)

Complexity of a problem The theory of classifying problems based on how difficult they are to solve. A problem is assigned to the P-problem (polynomial-time) class if the number of steps needed to solve it is bounded by some power of the problem's size. A problem is assigned to the NP-problem (nondeterministic polynomial-time) class if it permits a nondeterministic solution and the number of steps to verify the solution is bounded by some power of the problem's size. The class of P-problems is a subset of the class of NP-problems, but there also exist problems which are not NP.

Complexity of a problem Problem complexity: We measure the time to solve a problem of input size n by a function T(n). Example:

Complexity of a problem Problem complexity: Algorithm complexity can be expressed in Order notation, e.g. “at what rate does work grow with N?”: O(1) Constant O(logN) Sub-linear O(N) Linear O(NlogN) Nearly linear O(N2) Quadratic O(XN) Exponential

Solution Solution for combinatorial optimization problem includes different types of algorithms such as : Algorithms based on geometry “cut trees” algorithms Genetic Algorithms Neighborhood search algorithms Dynamic programming Linear and non-linear programming Mixed integer programming Particle swarm optimization Simulated annealing algorithms

Genetic algorithm: introduction Genetic Algorithms (GAs) are adaptive heuristic search algorithm premised on the evolutionary ideas of natural selection and genetic. The basic concept of GAs is designed to simulate processes in natural system necessary for evolution, specifically those that follow the principles first laid down by Charles Darwin of survival of the fittest. As such they represent an intelligent exploitation of a random search within a defined search space to solve a problem.

Genetic algorithm: Chromosomes Chromosomes are used to code information. Example: 3 warehouses, 5 clients W1 W2 W3 C1 C2 C3 C4 C5 1 3 2

Genetic algorithm: Operators Population Select Crossover Mutation No Final iteration Recombination Yes Best solution

Genetic algorithm: Operators Population 1- Randomly generate an initial population (random chromosomes) 2 -Compute and save the fitness (Objective function F) for each individual (chromosomes) in the current population Select 3-Select some chromosomes from the population as an offspring individual: Randomly using stochastic method

Genetic algorithm: Operators The crossover is done on a selected part of population (offspring) to create the basis of the next generation (exchange information). This operator is applied with propability Pc Crossover W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Father W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Mother

Genetic algorithm: Operators W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Father Crossover W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Mother W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Child 1 W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Child 2

Genetic algorithm: Operators This operation is a random change in the population. It modifies one or more gene values in a chromosome to have a new chromosom value in the pool. This operator is applied with propability Pm Mutation W1 W2 W3 C1 C2 C3 C4 C5 1 3 2 Current New W1 W2 W3 C1 C2 C3 C4 C5 1 3 2

Genetic algorithm: Operators Recombination combines the chromosomes from the initial population and the new offspring chromosomes. Recombination Repeat a fixed number of iteration or until the solution converge to one solution (always with the best fitness) . Final iteration

Genetic algorithm: Operators Population Select Crossover Mutation No Final iteration Recombination Yes Best solution