Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department.

Slides:



Advertisements
Similar presentations
Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
Advertisements

G5BAIM Artificial Intelligence Methods
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Introduction to Algorithms
Swarm algorithms COMP308. Swarming – The Definition aggregation of similar animals, generally cruising in the same direction Termites swarm to build colonies.
Discrete Optimization Shi-Chung Chang. Discrete Optimization Lecture #1 Today: Reading Assignments 1.Chapter 1 and the Appendix of [Pas82] 2.Chapter 1.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Optimization for Network Planning Includes slide materials developed by Wayne D. Grover, John Doucette, Dave Morley © Wayne D. Grover 2002, 2003 E E 681.
Randomized Planning for Short Inspection Paths Tim Danner Lydia E. Kavraki Department of Computer Science Rice University.
EAs for Combinatorial Optimization Problems BLG 602E.
Ant Colony Optimization Optimisation Methods. Overview.
1 Branch and Bound Searching Strategies 2 Branch-and-bound strategy 2 mechanisms: A mechanism to generate branches A mechanism to generate a bound so.
Better Ants, Better Life? Hybridization of Constraint Programming and Ant Colony Optimization Supervisors: Dr. Bernd Meyer, Dr. Andreas Ernst Martin Held.
Ch 13 – Backtracking + Branch-and-Bound
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Backtracking.
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
When Ants Attack! Ant Algorithms for Subset Selection Problems Derek BridgeFinbarr TarrantChristine Solnon University College CorkUniversity of Lyon.
1 IE 607 Heuristic Optimization Introduction to Optimization.
Ant Colony Optimization: an introduction
Ant Colony Optimization (ACO): Applications to Scheduling
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
ENCI 303 Lecture PS-19 Optimization 2
Swarm Computing Applications in Software Engineering By Chaitanya.
Design Techniques for Approximation Algorithms and Approximation Classes.
Swarm Intelligence 虞台文.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Linear Programming Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction.
Search Methods An Annotated Overview Edward Tsang.
Algorithms and their Applications CS2004 ( ) Dr Stasha Lauria 11.1 Applications, Introduction and Parameter Optimisation.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Heuristic Optimization Methods Tabu Search: Advanced Topics.
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Models in I.E. Lectures Introduction to Optimization Models: Shortest Paths.
Exact and heuristics algorithms
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh University of Maryland Bruce Golden University.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
§1.4 Algorithms and complexity For a given (optimization) problem, Questions: 1)how hard is the problem. 2)does there exist an efficient solution algorithm?
1 Genetic Algorithms and Ant Colony Optimisation.
Two Discrete Optimization Problems Problem: The Transportation Problem.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Introduction to Optimization
Optimization Problems
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
Branch and Bound Searching Strategies
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
metaheuristic methods and their applications
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
Scientific Research Group in Egypt (SRGE)
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
1.3 Modeling with exponentially many constr.
metaheuristic methods and their applications
Integer Programming (정수계획법)
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
Ant Colony Optimization
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Presentation transcript:

Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department

Outline  Introduction to Optimization & Intractable Problems  Linear Programming  Heuristic  Metaheuristic  Linear Programming Formulation Shortest path Problem Max Flow Problem Wavelength Assignment Problem

Optimization Problem Problem that aims to find the best solution from all feasible solutions The best solution can be the minimum or maximum solution Examples:  Find the route from point A to point B that takes the shortest times  Determine how a production factory can maximize its profit using limited materials

The Travelling Salesman Problem (TSP) A classic combinatorial optimization problem Given n cities on a map, find the shortest route that visits all the cities once, and starts and ends at the same city Starting and ending in Paris, which route allow us to visit major cities with the least amount of travelling ?

The 1-Dimensional Bin Packing Problem Given n items of different (1D) sizes, and given some fixed- capacity bins, pack the items into a minimum number of bins Is this the minimal number of Bins needed for these items?

TSP Growth Rates  A route around a map can be represented as a permutation of the n cities: E.g. for 5 cities, [B,A,C,E,D] means “start at city B, then go to city A, then city C, then E, then D, and return to city B”  Given n cities, there is a total of n! permutations  Some permutations represent the same routes - there are actually ½(n-1)! different routes in total  To return the provably optimal solution to any instance of the TSP the algorithm needs to check the majority of – if not all – possible routes  The number of routes grows exponentially quickly making the problem intractable:

Linear Programming (LP) An optimization problem in which the objective function and all the constraints are expressed as linear functions even if just one of them is not a linear function, the problem is not an LP problem Linear programming problem Nonlinear programming problem

LP Formulation Matrix expression for LP formulation

Nomenclature in LP Problem Boundary is a constraint that express the upper or lower bound of an inequality or equality Feasible region is an area delineated by the boundaries Corner point is an intersection of the boundaries

Example Let z= x+y max z Rewrite as y= -x + z

Solution by Moving y = -x +z

Simplex Method

Heuristics Provide a shortcut to solve difficult problems. Used under limited time and/or information to make a decision. Problem-dependent techniques, i.e., adapted to the problem at hand to take advantage of the particularities of the problem. Lead to a good decision most of the time. Heuristics are good when  Making a spur-of-the-moment decision  Having limited information and cannot obtain more  The decision is not that important

Heuristics Heuristics are bad when  Having plenty of time and information to make an important decision  Need to be right 100% of the time Examples of heuristics  Deciding to eat at restaurant B rather than restaurant A only because B has more cars in its parking lot  When the level in the fuel tank drops to 1/2 tank or less, always filling up the fuel tank at the very next re-filling station

Metaheuristic Meta: in an upper level Heuristic: to find A metaheuristic is formally defined as an iterative generation process which guides a subordinate heuristic by combining intelligently different concepts for exploring and exploiting the search space, learning strategies are used to structure information in order to find efficiently near-optimal solutions. A metaheuristic is a function that consists of heuristic subroutines. It is a compound heuristic.

Fundamental Properties of Metaheuristics  Metaheuristics are strategies that guide the search process to avoid being trapped in confined areas of the search space  The goal is to efficiently explore the search space in order to find (near)-optimal solutions  Techniques which constitute metaheuristic algorithms range from simple local search procedures to complex learning processes  Metaheuristic algorithms are approximate and usually non-deterministic  Metaheuristics are not problem-specific

Metaheuristic Examples  Genetic algorithms (1960s/1970s), Evolutionary strategy (Rechenberg & Swefel 1960s), Evolutionary programming (Fogel et al. 1960s).  Simulated annealing (Kirkpatrick et al. 1983), Tabu search (Glover 1980s), Ant colony optimization (Dorigo 1992), Genetic programming (Koza 1992), Particle swarm optimization (Kennedy & Eberhart 1995), Differential evolution (Storn & Price 1996/1997),  Harmony search (Geem et al. 2001), Honeybee algorithm (Nakrani & Tovey 2004),..., Firefly algorithm (Yang 2008), Cuckoo search (Yang & Deb 2009),...

Genetic Algorithms: TSP Example

Ant Colony Optimization (in one Slide) A. Ants in a pheromone trail between nest and food; B. an obstacle interrupts the trail; C. ants find two paths to go around the obstacle; D. a new pheromone trail is formed along the shorter path.

LP Formulation for Shortest Path Problem Network is represented by directed graph G(V,E), where V is the set of vertices (nodes) & E is the set of links Link from node i to node j is expressed by (i,j); d ij is the link cost of (i,j) X pq ij : traffic volume from node p to node q routed through (i,j)

Max flow Problem Network model with link capacities Max flow routing from node 1 to node 6 ILP formulation for max flow problem ? Assignment

Wavelength Assignment (WA) Problem Optical path requests Graph construction for coloring

LP Formulation for Graph Coloring Let W be a set of λ, where W = {λ 1,λ 2,···,λ |W| } Let x λ v and y λ, be binary variables. If λ is assigned to a path corresponding v, x λ v = 1, otherwise x λ v = 0. If λ is used at least one time y λ =1, otherwise y λ =0.

Heuristic: Largest Degree First (LDF) Wavelength assignment process of LDF Step 1: select the uncolored vertex with largest degree. Step 2: choose the min indexed color from the colors that are not used by the adjacent vertices. Step 3: color the selected vertex using the color chosen in step 2. Step 4: if all vertices are colored, LDF stops. otherwise, LDF returns to step 1.