G5BAIM Artificial Intelligence Methods - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

G5BAIM Artificial Intelligence Methods

Description:

... use local search then the first thing is to imagine and then implement a variety ... the basis of many search algorithms, e.g. simulated annealing and tabu ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 14
Provided by: andrew490
Category:

less

Transcript and Presenter's Notes

Title: G5BAIM Artificial Intelligence Methods


1
G5BAIMArtificial Intelligence Methods
Andrew Parkes (ajp)
  • DRAFT Examples of neighbourhoods

2
NOTE (Feb 15th 2007)
  • This list is currently partial!
  • As the course proceeds I will add more

3
AIM
  • In practical implementations of optimization, it
    is crucial to design and use good neighbourhoods
  • These slides just give some ideas of the
    neighbourhoods that might be used in the standard
    problem domains
  • these are used for local search algorithms, e.g.
    hillclimbing, simulated annealing, tabu search,
  • It is not intended to be a complete list! Just to
    give some basic ideas

4
Function Optimisation
  • Variables x1,,xn
  • Real-valued (not necessarily integers)
  • Objective value f(x1,,xn)
  • where f is some supplied function
  • Task
  • Find values of x1,,xn that maximise f
  • subject to
  • constraints on the x1,,xn

5
Function Optimisation
  • Typical Neighbourhoods
  • a ball or radius e around the current point
  • x x0 lt e
  • or a cube
  • x(i) x0(i) lt e forall i

6
Exercise
  • What might happen if e is made large?

7
Discrete Optimisation Binary Variables
  • Variables are binary (either 0 or 1 true or
    false)
  • Subset Sum
  • (Binary) Integer Programming
  • (Propositional) Satisfiability

8
Exercise
  • If given a new problem and decide want to use
    local search then the first thing is to imagine
    and then implement a variety of neighbourhoods to
    try out.
  • What neighbourhood(s) might you use for problems
    with binary variables, e.g.
  • subset sum
  • BIP
  • SAT
  • Neighbourhoods form the basis of many search
    algorithms, e.g. simulated annealing and tabu
    search

9
Binary Variables Neighbourhoods
  • Simple Flip
  • swap 0 for 1, or vice versa
  • for just one variable
  • In subset sum this corresponds to moving one
    number either into or out of the subset
  • In SAT this corresponds to flipping the truth
    value of one of the boolean variables
  • Larger neighbourhoods were considered but did not
    become popular

10
Travelling Salesman Problem (TSP)
(some edge lengths missing for clarity)
  • Tour permutation of cities e.g. ABCFED(A)
  • Length is sum of edges e.g. 211413
  • Task Find the shortest tour of the cities

11
TSP 2-OPT
  • To be completed later

12
Graph Colouring Nbds
  • Coursework ONE !!

13
Expectations
  • Become familiar with some neighbourhood on the
    standard problems
  • be able to discuss them in the lectures
  • be able to discuss and use them in the coursework
    and exam
  • be able to identify when they get stuck in local
    minima
Write a Comment
User Comments (0)
About PowerShow.com