15.3. Overconstrained Planning

When there is no feasible solution to assign all planning entities, it's often desired to assign as many entities as possible without breaking hard constraints. This is called overconstrained planning.
To implement this:
  1. Add a additional score level (usually a medium level between the hard and soft level) by switching ScoreDefinition.
  2. Make the planning variable nullable.
  3. Add a score constraint on the new level (so usually a medium constraint) to penalize the number of unassigned entities (or a weighted sum of them).