Parameters
RuleOptions
See RuleOptions
Returns
RuleEntry<"assignment-priority", object & RuleOptions>
Soft constraint. The solver adds a bonus for each assignment of the
targeted members, making them more likely to appear on the schedule.
Use priority to control preference strength; higher priority means a larger
bonus. This rule remains a preference, so even "MANDATORY" priority does not
force an assignment when hard constraints or stronger objectives prevent it.
Opposite of avoidAssignment. Both map to the same underlying
assignment-priority rule with different directions.