IT[2] = VF.bounded("IT_2", 0, 1, solver);
IntVar WE = VF.bounded("WE", 0, 8, solver);
IntVar EN = VF.bounded("EN", 0, 6, solver);
int[] weights = new int[]{1, 3, 4};
int[] energies = new int[]{1, 4, 6};
solver.post(ICF.knapsack(IT, WE, EN, weights, energies));
SMF.log(solver, true, false);
solver.findAllSolutions();
}
@Test(groups = "1s")