I want to find the smallest vector $\vec p$ such that some constraints are satisfied, so something like:
$$\hat p = \underset{\vec p}{\arg \min} \; |\vec p| \\ s.t. \; F(x_i, \vec p) \leq \epsilon_i \; \forall i $$
Is there a general approach for solving such a problem?
My idea is to pre-allocate $\vec p$ to be very large and then minimize the number of nonzero entries like so:
$$\hat p = \underset{\vec p}{\arg \min} \; \sum_j^{|\vec p|} (p_j \neq 0) \\ s.t. \; F(x_i, \vec p) \leq \epsilon_i \; \forall i $$
Is this the right idea?