Why not add sum(canBeTaken) < 4 as a constraint? 2013/4/8 Christian Schulte <cschulte at kth.se> > > Then why not compute all solutions with a while loop and continue until you find a solution for which sum(canBeTaken) >= 4. > > > > Best > > Christian