Algorithms and data structures

Slides:



Advertisements
Similar presentations
Acoustic design by simulated annealing algorithm
Advertisements

Ant colonies for the traveling salesman problem Eliran Natan Seminar in Bioinformatics (236818) – Spring 2013 Computer Science Department Technion - Israel.
Ant Colony Optimization. Brief introduction to ACO Ant colony optimization = ACO. Ants are capable of remarkably efficient discovery of short paths during.
Gizem ALAGÖZ. Simulation optimization has received considerable attention from both simulation researchers and practitioners. Both continuous and discrete.
EAs for Combinatorial Optimization Problems BLG 602E.
Ant Colony Optimization Optimisation Methods. Overview.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Ant Colony Optimization: an introduction
Ant Colony Optimization (ACO): Applications to Scheduling
FORS 8450 Advanced Forest Planning Lecture 19 Ant Colony Optimization.
Ant colony optimization algorithms Mykulska Eugenia
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Part B Ants (Natural and Artificial) 8/25/ Real Ants (especially the black garden ant, Lasius niger)
Artificial Intelligence Problem solving by searching CSC 361
Travelling Salesman Problem: Convergence Properties of Optimization Algorithms Group 2 Zachary Estrada Chandini Jain Jonathan Lai.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
EE4E,M.Sc. C++ Programming Assignment Introduction.
CI TECHNOLOGIES CITS4404 Artificial Intelligence & Adaptive Systems.
Swarm Intelligence 虞台文.
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
LINEAR CLASSIFICATION. Biological inspirations  Some numbers…  The human brain contains about 10 billion nerve cells ( neurons )  Each neuron is connected.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Optimization of multi-pass turning operations using ant colony system Authors: K. Vijayakumar, G. Prabhaharan, P. Asokan, R. Saravanan 2003 Presented by:
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Local Search: walksat, ant colonies, and genetic algorithms.
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
Last lecture summary. SOM supervised x unsupervised regression x classification Topology? Main features? Codebook vector? Output from the neuron?
1 Genetic Algorithms and Ant Colony Optimisation.
 Based on observed functioning of human brain.  (Artificial Neural Networks (ANN)  Our view of neural networks is very simplistic.  We view a neural.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
The Ant System Optimization by a colony of cooperating agents.
Biologically Inspired Computation Ant Colony Optimisation.
Artificial Intelligence Search Methodologies Dr Rong Qu School of Computer Science University of Nottingham Nottingham, NG8 1BB, UK
B.Ombuki-Berman1 Swarm Intelligence Ant-based algorithms Ref: Various Internet resources, books, journal papers (see assignment 3 references)
CSC-305 Design and Analysis of AlgorithmsBS(CS) -6 Fall-2014CSC-305 Design and Analysis of AlgorithmsBS(CS) -6 Fall-2014 Design and Analysis of Algorithms.
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Optimization Problems
Evolutionary Algorithms Jim Whitehead
CSCI 4310 Lecture 10: Local Search Algorithms
Informed Search Chapter 4 (b)
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Scientific Research Group in Egypt (SRGE)
A Comparison of Simulated Annealing and Genetic Algorithm Approaches for Cultivation Model Identification Olympia Roeva.
School of Computer Science & Engineering
Mapping Artificial Intelligence
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Ant colonies for traveling salesman problem
Genetic Algorithms and TSP
metaheuristic methods and their applications
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Optimization Problems
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Informed Search Chapter 4 (b)
Introduction to Neural Networks
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
The use of Neural Networks to schedule flow-shop with dynamic job arrival ‘A Multi-Neural Network Learning for lot Sizing and Sequencing on a Flow-Shop’
traveling salesman problem
Ants and the TSP.
EE368 Soft Computing Genetic Algorithms.
Boltzmann Machine (BM) (§6.4)
More on HW 2 (due Jan 26) Again, it must be in Python 2.7.
More on HW 2 (due Jan 26) Again, it must be in Python 2.7.
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Simulated Annealing & Boltzmann Machines
Discrete Optimization
Presentation transcript:

Algorithms and data structures Simulated annealing Tabu search Genetic algorithms Ant algorithms Neural networks

Simulated annealing SA heuristic considers some neighboring state s* of the current state s, and probabilistically decides between moving the system to state s* with probability or staying in-state s When T tends to zero, the probability P ( e , e ′ , T ) must tend to zero if e ′ > e and to a positive value otherwise. A B

Simulated annealing state = initial_state k = 0 while k < kmax : T = temperature(k ∕ kmax) snew = pick_a_random_neighbour(state) if P(E(state), E(snew), T) ≥ rand(): state = snew k += 1 T(k) = t0e-ak

SA – sample application Graph coloring: Initial_state, state – valid coloring pick_a_random_neighbour (s) – a coloring that was obtained by changing a color (or a number of colors dependent on T) in state s to another colors P: E(s) –> number of colors in s random factor e(T)

Tabu search Improving changes (moves) are accepted. The potential solutions that have been previously visited within a certain short-term period or have violated a rule, are marked as "tabu" (forbidden).

Tabu search bestCandidate = state = initial_state tabuList = [initial_state] while (not stoppingCondition()): sNeighborhood = getNeighbors(bestCandidate) bestCandidate = sNeighborHood.firstElement for sCandidate in sNeighborHood: if (not tabuList.contains(sCandidate) and \ (E(sCandidate) > E(bestCandidate)) ) : bestCandidate = sCandidate if E(bestCandidate) > E(state): state = bestCandidate tabuList.push(bestCandidate) if tabuList.size > maxTabuSize : tabuList.removeFirst()

TS – sample application Graph coloring: Initial_state, state – valid coloring E(s) –> number of colors in s

Genetic algorithm Initial population of randomly generated individuals In each generation, the fitness of every individual in the population is evaluated; The more fit individuals are stochastically selected from the current population, and each individual's genome is modified (recombined and possibly randomly mutated) to form a new generation. The new generation of candidate solutions is then used in the next iteration of the algorithm. The fitness is usually the value of the objective function for the optimization problem being solved.

GA - sample appliction Salesman route: Recombination: for parent-individuals some parts of solution are exchanged between parent-individuals Mutation: a part of soluton (a single edge in the way?) is randomly replaced by another route

Ant colony algorithm "simulated ants" walking around the graph representing the problem ants (initially) wander randomly, and upon finding food return to their colony while laying down pheromone trail If other ants find such a path, they are likely not to keep travelling at random, but instead to follow the trail, returning and reinforcing it if they eventually find food

ACA – sample application Salesman route It must visit each city exactly once; A distant city has less chance of being chosen (the visibility); The more intense the pheromone trail laid out on an edge between two cities, the greater the probability that that edge will be chosen; Having completed its journey, the ant deposits more pheromones on all edges it traversed, if the journey is short; After each iteration, trails of pheromones evaporate.

Neuron model Discrete y = 1 if xiwi >= P or 0 otherwise Contineous y = 2/(1-e-net), where net = xiwi y w1 wk ..... x1 xk

Neural network O1 O2 Output layer Hidden layer(s) Input layer I1 I2 I3

Topology Input/output sizes depend on imput size/categories count The number and size of hidden layers should be determined experimentally There are possible inter-layes connections, slow-down connections, loop-back connections, different transition functions, convolutions etc.

Interesting properties Supervised learning Preparation of training set – correct answers: Back propagation algorithm Interesting properties Error resistance Intrinsic recall

A Classifier O1 O2 Output layer Hidden layer(s) ..... Input layer I1

Sample applications Hand written text recognition and image classification Diagnistic skin deeseases Risk odf bank loan estimation Detection of the natural deposits Real estates values apraisal Fraud detection