Chapter 6 Combinatorial Optimisation Flashcards

(17 cards)

1
Q

What is combinatorial optimisation?

A

Solving problems where the goal is to choose the best combination from a discrete set of options, often under constraints.

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

Why can’t calculus-based optimisation be used in combinatorial problems?

A

Because the choices are discrete and don’t have derivatives, making root-finding and gradient methods inapplicable.

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

What is a greedy algorithm?

A

An algorithm that makes the best local choice at each step with the hope of finding a global optimum.

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

What are the key properties of greedy algorithms?

A

Safe choices, optimal substructure, and only one subproblem to solve after each decision.

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

What is the activity selection problem?

A

Selecting the maximum number of non-overlapping activities based on start and finish times.

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

Why does a greedy solution work for the activity selection problem?

A

Because selecting the earliest finishing activity always leaves the most room for subsequent ones, ensuring an optimal solution.

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

What is a minimum spanning tree (MST)?

A

A subset of a graph’s edges that connects all vertices with the minimum total edge weight and no cycles.

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

Which greedy algorithms are used for MST?

A

Prim’s and Kruskal’s algorithms.

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

What is the safe edge theorem in MST?

A

A light edge crossing a cut that respects the current tree is safe to add and part of some MST.

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

What is the 0-1 knapsack problem?

A

Selecting a subset of items with given weights and values to maximize value without exceeding capacity, where each item is either taken or not.

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

Why doesn’t a greedy approach work for the 0-1 knapsack problem?

A

Because selecting items by value-per-weight ratio may miss combinations that provide higher total value.

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

What is simulated annealing?

A

A heuristic algorithm that explores the solution space by probabilistically accepting worse solutions to escape local optima, inspired by cooling in metallurgy.

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

How does temperature affect simulated annealing?

A

Higher temperatures allow more exploration; lower temperatures focus the search and help converge to a solution.

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

What is a stable matching?

A

A matching where no pair prefers each other over their current matches.

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

What is the Gale-Shapley algorithm?

A

An iterative algorithm that produces a stable matching by letting one side propose to their preferences and adjusting engagements based on mutual rankings.

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

What is Pareto optimality in matching?

A

A state where no individual can be made better off without making someone else worse off.

17
Q

What is beam search?

A

A search algorithm that expands the best k nodes at each level of a search tree to find an optimal or near-optimal solution.