I have a constraint that is not linear of the form
a[k, k] * x[k] >= b * x[k] * (1 + sum(a[k1, k] * x[k1] for k1 in range(K))).
The variables are x[k] which are 0 or 1 for all k = 0, ..., K - 1. The input is K, a[k, n] and b.
If I use big M formulation, I can linearize it as
(a[k, k] * x[k] + M * (1 - x[k])) >= b * (1 + sum(a[k1, k] * x[k1] for k1 in range(K))),
but this is not useful in my case.
I would like to use SOS constraints to model this, how can I do this?