<div dir="ltr">Inside my planning a priority would be considered a soft constraing right? I created a Enum class with 6 priority going from P1 to P6. How can I add it to  my SimpleScoreCalculator? (the lower the number is, the higher is the priority)<div>
<br></div><div style>For example, i have 7 workorders, each one have a requiredWorktime of 8 hours, 3 a P1, 2 P3 and the other 2 P6, and I have 4 available engineers with 8 hours worktime each one.</div><div style><br></div>
<div style>At the end, this should be sorted by worktime, skill and priority.</div><div style><br></div><div style>Engineer 1 Skill ABC1, ABC2, ABC3, ABC4</div><div style>Engineer 2 Skill ABC4, ABC3<br></div><div style>Engineer 3 Skill ABC2, ABC3<br>
</div><div style>Engineer 4 Skill ABC1, ABC4<br></div><div style><br></div><div style>Workorder 1 skill ABC1, ABC2, ABC4, P1</div><div style>Workorder 2 skill ABC3, ABC4, P1<br></div><div style>Workorder 3 skill ABC1, ABC4, P1<br>
</div><div style>Workorder 4 skill ABC4, P3<br></div><div style>Workorder 5 skill ABC3, P3<br></div><div style>Workorder 6 skill ABC1, ABC2, ABC3, ABC4, P6<br></div><div style>Workorder 7 skill ABC1, ABC2, ABC4, P6<br></div>
<div style><br></div><div style>at the end, the result should be</div><div style><br></div><div style>Engineer 1 - WorkOrder 1</div><div style>Engineer 2 - WorkOrder 2</div><div style>Engineer 4 - WorkOrder 3</div><div style>
Engineer 3 - WorkOrder 4</div><div style><br></div><div style>and the rest of it shouldn&#39;t be planned.</div><div style>How can I manage this? Will I have to do something like that move or treat it as a hard constraing to?</div>
</div>