I was trying to formulate a problem as an integer linear programming problem.
I have binary variables x[i] and y[i] for i in [1,n] that are constrained to have a value of 0 or 1.
I want to make the following constraint: sum(x[i] * y[i] for i in array) <= 100
I want to be able to multiply the x[i] and y[i] together but then this becomes a quadratic equation (not linear).
Is there any way I could do this? I'm pretty new to linear programming so I would really appreciate any help!!