Domanda di colloquio di Google

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