I would appreciate any help to solve the following task:
If $y=1$ then $x_i=1$ for at least $k$ of the possible indices $i\in\{1,\cdots,n\}$ where $k$ and $n$ are parameters, $x$ is a binary variable vector with $n$ elements, and $y$ is a binary variable.