In section 4.1.3 of Convex Optimization, Boyd & Vandenberghe wrote the following:
we can always minimize a function by first minimizing over some of the variables, and then minimizing over the remaining ones.
For example,
$$\min\limits_{ x_1}\min\limits_{x_2}f(x_1,x_2) = \min\limits_{ x_1,x_2} f(x_1,x_2)$$
Then my questions are follows.
When I first handle $\mathop {\min }\limits_{x_2}f(x_1,x_2)$, how should I choose the value $x_1$? Any value?
If I have a problem with $K$ variables, then can I optimize the variables one by one as follows?
$$\min\limits_{ x_1}\min\limits_{x_2}\cdots\min \limits_{x_K} f(x_1, x_2, \cdots, x_K) = \min\limits_{x_1, x_2, \cdots, x_K} f(x_1, x_2, \cdots, x_K)$$