How do I solve this integer linear program?

31 Views Asked by At

I am trying to wrap my head around this problem:

$$maximize \quad w^t X \quad \text{with}\, w=[a, b, c, d]$$ $$\text{subject to}\quad x_1 a + y_1 b + z_1 c + k_1 d \leq v_1$$ $$\dots$$ $$x_n a + y_n b + z_n c + k_n d \leq v_n$$ $$\text{with} \sum x_i=\sum y_i=\sum z_i=\sum k_i$$ $$x, y, z, k \geq 0$$ $$x, y, z, k \in Z^n$$

with $w=[a,b,c,d]$ and $\vec{v}\in Z^n$ given, having $4n$ variables (represented as $x_i, y_i, z_i, k_i$ for simplicity). How would I go about solving this (if possible)? For my application, $n$ is not big so any prohibitive method could still work out, but I am mostly interested in the steps required to approach the problem.

I am somewhat acquainted with the idea of solving the relaxed problem without integer constraints, discretizing the solution later on, but then again as far as I know this method is very naive and not really valid for most problems. My apologies for my ignorance on the matter.

Any explanation or reference on the subject is greatly appreciated, thank you!