Optimization Problems in AI
- 35Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
35 questions
- 1Optimization is about choosing the_____option from a set of possible options.
Hint
Think about the goal of optimization: to pick the top choice.
Answer
best
- 2Local search differs from search algorithms like breadth-first search because it maintains only a_____node at a time.
Hint
Instead of many paths, local search focuses on one current state.
Answer
single
- 3In a state-space landscape, the height of a vertical bar represents the_____of that state.
Hint
The height measures how good or costly a state is.
Answer
value
- 4When trying to find a global maximum, the function we optimize is called the_____function.
Hint
This function measures how good a state is.
Answer
objective
- 5When trying to find a global minimum, the function we optimize is called the_____function.
Hint
This function measures how expensive or bad a state is.
Answer
cost
- 6A state with a value higher than all its neighbors but not necessarily the highest overall is called a_____maximum.
Hint
It is the best in its immediate neighborhood but not globally.
Answer
local
- 7In the hill-climbing algorithm, we start with an initial state and repeatedly move to a_____neighbor until no better neighbor exists.
Hint
We only accept moves that improve the current state.
Answer
better
- 8In the pseudocode for hill climbing, if the best neighbor is not better than the current state, the algorithm_____.
Hint
The algorithm stops because no improvement is possible.
Answer
terminates
- 9For the hospital placement problem, a neighbor of a state is defined as moving one hospital one square left, right, up, or_____.
Hint
Only orthogonal moves are considered.
Answer
down
- 10Hill climbing can get stuck at a_____maximum or minimum because it never makes a move that worsens the state.
Hint
This is a peak or valley that is not the global best.
Answer
local
- 11A flat region in the state-space landscape where all neighbors have the same value is called a_____.
Hint
It's a level area that can cause hill climbing to halt.
Answer
plateau
- 12In steepest-ascent hill climbing, we choose the_____neighbor among all neighbors.
Hint
It selects the best possible move at each step.
Answer
highest-valued
- 13Stochastic hill climbing chooses_____from among all higher-valued neighbors.
Hint
Instead of the best, it picks any improving neighbor at random.
Answer
randomly
- 14First-choice hill climbing moves to the_____higher-valued neighbor it finds.
Hint
It doesn't consider all neighbors; it stops at the first improvement.
Answer
first
- 15Random-restart hill climbing performs hill climbing_____times from random initial states and picks the best result.
Hint
This reduces the chance of getting stuck in a local optimum.
Answer
multiple
- 16Local beam search keeps track of_____highest-valued neighbors instead of just one.
Hint
The number of states maintained is a parameter.
Answer
k
- 17Simulated annealing sometimes accepts a_____neighbor to avoid getting stuck in local optima.
Hint
The algorithm occasionally allows moves that decrease quality.
Answer
worse
- 18In simulated annealing, the probability of accepting a worse neighbor is based on a_____schedule that decreases over time.
Hint
This parameter controls the randomness of moves.
Answer
temperature
- 19The probability of accepting a worse neighbor in simulated annealing is calculated as $e^{\frac{\Delta E}{_____}}$.
Hint
The denominator involves the current temperature.
Answer
T
- 20In the traveling salesman problem, a neighbor can be generated by picking two edges and_____them.
Hint
This operation changes the route by swapping connections.
Answer
switching
- 21Linear programming aims to_____a linear cost function subject to linear constraints.
Hint
The goal is often to reduce costs.
Answer
minimize
- 22Two common algorithms for solving linear programs are simplex and_____-point algorithms.
Hint
This class of algorithms approaches the solution from inside the feasible region.
Answer
interior
- 23A constraint satisfaction problem consists of variables, domains, and_____.
Hint
These define the allowed combinations of variable assignments.
Answer
constraints
- 24In exam scheduling, a constraint that two exams cannot be on the same day is an example of a_____constraint.
Hint
It involves exactly two variables.
Answer
binary
- 25A constraint that involves only one variable is called a_____constraint.
Hint
It affects a single variable.
Answer
unary
- 26Node consistency requires that every value in a variable's domain satisfies its_____constraints.
Hint
This consistency checks only single-variable constraints.
Answer
unary
- 27Arc consistency requires that for every value in X's domain, there exists a value in Y's domain that satisfies the_____constraint between X and Y.
Hint
This involves two variables.
Answer
binary
- 28The revise function removes values from X's domain that have_____possible value in Y's domain satisfying the constraint.
Hint
It eliminates unsupported values.
Answer
no
- 29The AC-3 algorithm maintains a_____of arcs to enforce arc consistency.
Hint
A data structure for processing items in order.
Answer
queue
- 30In AC-3, if revising X's domain reduces it, we add all arcs (Z,X) for neighbors Z_____Y to the queue.
Hint
We skip the neighbor we just processed.
Answer
except
- 31Backtracking search for CSPs assigns variables one at a time and backtracks when a_____is reached.
Hint
When no value works for an unassigned variable.
Answer
dead end
- 32Interleaving inference during backtracking search enforces_____consistency after each assignment.
Hint
This reduces domains and avoids dead ends.
Answer
arc
- 33The minimum remaining values (MRV) heuristic selects the variable with the_____domain.
Hint
Choose the variable with the fewest options left.
Answer
smallest
- 34The degree heuristic selects the variable with the_____number of constraints with other unassigned variables.
Hint
Choose the variable that is most constrained.
Answer
highest
- 35The least constraining value heuristic chooses the value that rules out the_____choices for neighboring variables.
Hint
Leave as much flexibility as possible.
Answer
fewest

Ask anything
We've read this whole study set, so questions about it get the best answers.