Optimization Flashcards

1
Q

choosing the best option from a set of possible options.

A

Optimization

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

search algorithm that maintains a single node and searches by moving to a neighboring node

A

Local Search

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

a function that we use to maximize the value of the solution.

A

Objective Function

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

a function that we use to minimize the cost of the solution

A

Cost Function

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

the state that is currently being considered by the function.

A

Current State

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

a state that the current state can transition to.

A

Neighbor State

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

In this algorithm, the neighbor states are compared to the current state, and if any of them is better, we change the current node from the current state to that neighbor state.

A

Hill Climbing

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

a state that has a higher value than its neighboring states

A

A local maximum

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

a state that has the highest value of all states in the state-space.

A

global maximum

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

state that has a lower value than its neighboring states

A

local minimum

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

state that has the lowest value of all states in the state-space

A

global minimum

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

multiple states of equal value are adjacent, forming a plateau whose neighbors have a worse value

A

flat local maximum/minimum

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

multiple states of equal value are adjacent and the neighbors of the plateau can be both better and worse

A

shoulder

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

Variants of Hill Climbing

A

Steepest-ascent
Stochastic
First-choice
Random-restart
Local Beam Search

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

Variant that chooses the highest-valued neighbor.

A

Steepest-ascent

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

Variant that chooses randomly from higher-valued neighbors.

A

Stochastic

17
Q

Variant that chooses the first higher-valued neighbor

A

First-choice

18
Q

Variant that conduct hill climbing multiple times

A

Random-restart

19
Q

Variant that chooses the k highest-valued neighbors.

A

Local Beam Search

20
Q

allows the algorithm to “dislodge” itself if it gets stuck in a local maximum.

A

Simulated Annealing

21
Q

the task is to connect all points while choosing the shortest possible distance.

A

Traveling Salesman Problem

22
Q

a family of problems that optimize a linear equation

A

Linear Programming

23
Q

Components of Linear Programming

A

Cost Function we want to minimze
Constraint represented as a sum of variables that is either less than or equal to a value
or precisely equal to this value
Individual bounds on variables

24
Q

a class of problems where variables need to be assigned values while satisfying some conditions.

A

Constraint Satisfaction

25
Q

Constraint Satisfaction properties

A

Set of Variables
Set of domains for each variable
Set of constraints C

26
Q

a constraint that must be satisfied in a correct solution.

A

Hard Constraint

27
Q

a constraint that expresses which solution is preferred over others.

A

Soft Constraint

28
Q

a constraint that involves only one variable.

A

Unary Constraint

29
Q

a constraint that involves two variables.

A

Binary Constraint

30
Q

when all the values in a variable’s domain satisfy the variable’s unary constraints.

A

Node consistency

31
Q

when all the values in a variable’s domain satisfy the variable’s binary constraints

A

Arc consistency

32
Q

a type of a search algorithm that takes into account the structure of a constraint satisfaction search problem.

A

Backtracking search

33
Q

This algorithm will enforce arc-consistency after every new assignment of the backtracking search.

A

Maintaining Arc-Consistency algorithm

34
Q

ways to make the AC-3 algorithm more efficient

A
  • MRV (Minimum Remaining Values) heuristic
  • Degree heuristic