2
$\begingroup$

I am trying to prove a simple local search algorithm could solve exactly this problem:

$\underset{S \in I(M), |S|=k}{max} c(S)$

where $M$ is a matroid, and $ I(M)$ is the set of all independent set, $c(S) = \sum_{v \in S}c(v)$.

In the book "A First Course in Combinatorial Optimization" by Jon Lee, it is given that a local search/ Swap algorithm return the optimal solution. But the author did not provide a proof.

I tried to follow the greedy algorithm heuristic to prove the optimality of this local search algorithm, but it didn't work.

I also tried to prove it when the matroid is a graphic matroid, e.g., a spanning tree. I tried to use the cycle property of the minimum spanning tree to prove the optimality, but it didn't work either.

$\endgroup$
3
  • 2
    $\begingroup$ If you know the proof that the greedy algorithm always produces a maximum weight basis of a matroid, then just run the same proof on the matroid you get by truncating the original matroid down to rank $k$. The independent sets of size $k$ in the original matroid are the bases in the truncated matroid. $\endgroup$
    – Tony Huynh
    Commented Dec 30, 2022 at 2:20
  • $\begingroup$ @ Tony Huynh. Thank you for your reply! From my understanding, the proof you provide is still a greedy proof, right? But I am specifically interested in proving the optimality of the local search algorithm. Do you have any idea of this? $\endgroup$
    – Honglian
    Commented Jan 2, 2023 at 21:13
  • $\begingroup$ Added a proof below. $\endgroup$
    – Tony Huynh
    Commented Jan 3, 2023 at 5:07

1 Answer 1

1
$\begingroup$

Let $I$ be the independent set of size $k$ returned by the local search algorithm. Thus, $c(J) \leq c(I)$ for every independent set $J$ of size $k$ such that $|I \Delta J|=2$. Towards a contradiction, suppose that $I$ is not a maximum weight independent set of size $k$. Among all maximum weight independent sets of size $k$, choose $I'$ such that $|I' \cap I|$ is maximum.

Let $x \in I \setminus I'$. Since $I$ and $I'$ are bases in the matroid obtained by truncating $M$ to rank $k$, by the symmetric basis exchange axiom, there exists $y \in I' \setminus I$ such that $(I \setminus x) \cup \{y\}$ and $(I' \setminus y) \cup \{x\}$ are both independent sets. If $c(y)>c(x)$, then $(I \setminus x) \cup \{y\}$ contradicts the stopping condition of local search. If $c(y) < c(x)$, then $(I' \setminus y) \cup \{x\}$ contradicts that $I'$ is a maximum weight independent set of size $k$. If $c(y)=c(x)$, then $(I' \setminus y) \cup \{x\}$ contradicts the maximality of $|I' \cap I|$.

$\endgroup$
3
  • 1
    $\begingroup$ Great answer! Thanks a lot! $\endgroup$
    – Honglian
    Commented Jan 3, 2023 at 14:29
  • 1
    $\begingroup$ @Honglian You're welcome! If you're happy with the answer, you can click on the 'green checkmark' so that it is marked as answered. $\endgroup$
    – Tony Huynh
    Commented Jan 4, 2023 at 7:36
  • $\begingroup$ Done that! Thanks for your reminder. $\endgroup$
    – Honglian
    Commented Jan 4, 2023 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .