optaplanner - Putting breaks within a shift -


i solving problem close nurse rostering 1 examples. besides default shiftassignment (planning entity) -> employee(planning variable) have small assignments within shift divide shift in n equal parts. shiftassignment connected n different smallassignment planning entity instances have planning variable “skill” because part of planning must skill employee assigned smallassignment instances not having option unassigned , there must skill or break.

so thing needs planned breaks can take place of m different small assignments m between 1 , number smaller n. break not fixed starting time , length that’s why needs planned.

what best way deal problem?

  1. creating custom move set value of variable “skill” in m different small assignment instances special value part of valuerange .
  2. make break fixed creating n different shiftassignment instances there can break possibilities 1 each break possibility , not creating connected smallassignment instances span time break is.
  3. making break placement @ end either last phase or separate solver
  4. considering different option


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo