problem.setObjective(constructObjective(), OptType.MIN);
//TODO Relaxations relax = new Relaxations();
final Solver solver = factory.get();
final Result result = solver.solve(problem);
if (result == null) {
System.out.println("[ERROR]: cannot enforce constraints, no result for LP");
} else {