I have the following optimization problem.
For given $r \in \mathbb{R}$, $y \in \mathbb{R}^{n \times K}$, $p \in [0,1]^K$ and $b>0$ and writing $c_{i} = \sum_{k=1}^{K}p_{k}y_{ik}$ :
$$\max_{(x,\alpha) \in \mathbb{R}^{n} \times \mathbb{R}} \; \sum_{i=1}^{n}x_{i}c_{i}$$
under the constraints
- $x \ge 0$
- $\sum_{i=1}^{n}x_{i}=1$
- $\alpha + b \cdot \sum_{k=1}^{K}p_{k} \cdot \max(-\sum_{i=1}^{n}x_{i}y_{ik}-\alpha,0\big) \le r$
Due to the third constraint, this is only piecewise linear in $(x,\alpha)$ and not differentiable. However, I need an efficient algorithm to solve this this for large integer values of $n,K$. What is a good approach?