Google Interview Question

In integer programming, how do you write a constraint for batches?