Local Search and Optimization Flashcards

1
Q

optimization problem

A

a problem where we must return a solution but our actions are unconstrained and we can numerically measure how much we like any state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can some search problems be viewed as optimization problems?

A

if we are willing to accept an imperfect goal state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

transition model in local search

A
  • it is arbitrary
  • just make one up, the model is irrelevant to the solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

local search

A
  • frontier is replaced with a single best node
  • not every possibility is explored
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

neighbourhood of S (A(s))

A

the set of adjacent states to some state s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what are the performance properties of local search?

A

Complete: trivially, yes because sub-optimal states are accepted as solutions
Optimal: no
Time: O(inf) or O(1)
Space: O(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

random guessing

A
  • ignore transition model and keep generating random states
  • remember only the best one and return when time runs out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

random search

A
  • choose a state from A(s) at random, keep chosen state if better than previous best state otherwise stay with previous best
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

when is a state good enough in random search?

A

when you run out of time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

hill-climbing

A
  • choose the state in A(s) that’s the best using f
    -> if maximizing: f(s) is biggest
    -> if minimizing: f(s) is smallest
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When is a state good enough in hill-climbing?

A

when no adjacent state is better

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

local max/min

A

when no adjacent state is better than where we are now

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

random restart hill-climbing

A

repeat hill-climbing, with new random initial state
- restart at any local optimum state or after a time limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

simulated annealing

A

combines hill-climbing with a limited random walk
- go up hill when you can, risk down hill moves based on size of downhill move

How well did you know this?
1
Not at all
2
3
4
5
Perfectly