Question d’entretien chez Google

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