Local Search
:material-circle-edit-outline: 约 234 个字 :fontawesome-solid-code: 21 行代码 :material-image-multiple-outline: 6 张图片 :material-clock-time-two-outline: 预计阅读时间 3 分钟
Intro¶
- Solve problem approximately
- aim at a local optimal
Framework of Local Search¶
- Local:
Define neighborhoods in the feasible set
A local optimum is the best solution in a neighbourhood - Search
Start with a feasible solution and search a better one within the neighbourhood
A local optimum is achieved if no improvement is possible
Neighbor Relation¶
- \(S ~ S'\): \(S'\) is a neighbouring solution of \(S\)->\(S'\) can be obtained by a small modification of \(S\).
- \(N(S)\): neighborhood of \(S\) -> the set \({S':S~S'}\)
- Famous implementation: Gradient Decent
The Vertex Cover Problem
Improvement¶
-
The Metropolis Algorithm
LessCss But it might bounce back and forth between several solutions(therefore customize the temperature)
-
Simulated Annealing
- \(T\) is a decreasing function of time
- \(T = T_0 \times \alpha^t\)
Hopfield Neural Network¶
Problem Description
-
State-flipping Algorithm:
-
Claim: The state-flipping algorithm terminates at a stable configuration after at most \(W=\sum_e|w_e|\) iterations.
- Proof:
Every time we flip a state, the \(\phi(S)=\sum_{e is good}|w_e|\) by at least 1, thus \(\phi(S)\) is non-negative and bounded by \(W\).
Maximum Cut Problem¶
Problem Description
- Claim: Let (A, B) be a local optimal partition and let (A, B) be a global optimal partition. Then \(w(A, B) \beq \frac{2}{1}w(A^*, B^*)\)
Proof
-
Try to use the "local optiaml partition" as a tool.
-
Limited Executed Time:
Note
Note