About

Page created using Nurse Rostering Problem (NRP) API (3.1.3625.27914)

1 2 3 4
1999 November01020304050607080910111213141516171819202122232425262728
MTWTFSSMTWTFSSMTWTFSSMTWTFSS

P

V

1

D

       

E

E

E

N

   

D

D

N

N

   

E

E

N

N

   

D

D

E

E

  0 0
10  

D

E

N

N

   

D

D

D

N

   

D

E

E

E

   

E

E

E

N

     

D

D

0 0
11    

D

D

D

E

   

D

D

D

N

     

D

D

E

E

     

E

E

N

N

    0 0
12

D

E

N

N

   

D

D

E

N

         

E

E

E

E

     

D

D

D

E

    0 0
13

E

E

E

E

               

D

D

N

N

   

D

D

D

N

     

D

E

E

0 0
14

E

   

E

E

N

N

   

D

D

D

N

   

E

E

E

N

   

D

D

E

E

      0 0
15

E

E

E

E

   

D

D

E

E

       

D

D

N

N

   

D

D

E

N

        0 0
16

D

D

         

E

E

N

N

     

D

E

E

   

D

E

E

E

   

D

D

N

20 0
2  

D

D

D

E

       

E

E

E

N

         

D

D

D

D

   

D

E

N

N

0 0
3

N

N

   

D

D

N

N

   

D

D

E

E

   

D

D

E

           

E

E

E

20 0
4  

D

D

D

N

   

D

E

E

E

   

D

E

N

   

D

E

N

N

     

D

D

E

20 0
5

E

     

D

D

E

E

   

E

E

E

N

   

D

D

N

N

   

D

E

E

N

    0 0
6  

E

E

E

E

     

D

D

D

E

   

D

D

D

D

     

E

N

N

N

      0 0
7    

D

D

D

N

   

D

E

E

N

   

D

D

N

N

     

E

E

E

E

   

D

0 0
8

D

N

N

   

D

D

E

N

   

E

E

E

E

           

D

D

D

E

   

D

0 0
9

N

     

E

E

E

N

     

D

D

E

E

   

D

D

E

E

   

D

D

D

N

  0 0
Employees' penalty (soft constraints) 60

Violations

Shift Cover (Skill : All)
D Preferred 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3   
D Provided 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3 00
E Preferred 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3   
E Provided 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3 4 4 4 4 4 3 3 00
N Preferred 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2   
N Provided 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 00
Total penalty (soft constraints)60
Total violations (hard constraints)0

Shifts Start End Description

D

06:00 14:00 Day.

E

14:00 22:00 Evening.

N

22:00 06:00 Night.
 
Cover constraints
Must not be over preferred levels: Hard constraint.
Must not be under preferred levels: Hard constraint.
Must not be over maximum levels: Hard constraint.
Must not be under minimum levels: Hard constraint.

KEY
 Assignment frozen
 Day off request
 Day on request
 Shift off request
 Shift on request

 

Computation
Found by   F. Xue, C.Y. Chan and W.H. Ip
Algorithm Hybrid VDS MAX_DEPTH=10, MAX_BLOCK_SIZE=5, POSITIVE_GAIN_HEURISTIC, SWAP_TEST_SEQUENCE = Shift_based, GAIN_RELAXATION = max(5 - log_e(distance_to_best_known), 0), SWIFT_DECENDING (Initial roster's penalty = 480000)
Computation time 6 hours, 26 minutes, 19 seconds (5000 runs)
Date 27 August 2008
System Microsoft Windows NT
CPUIntel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz

 

Penalties

1
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    11
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    11
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    5
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    5
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    5
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    5
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
10
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    10
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    10
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
11
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    8
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    8
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    5
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    5
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
12
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    1
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
13
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    13
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    13
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
14
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    11
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    11
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    5
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    5
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    8
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    8
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    1
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
15
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    2
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
16
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 20
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    2
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
x3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off1
 
2
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    8
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    8
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    5
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    5
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    2
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
3
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 20
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    6
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
x3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off1
 
4
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 20
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    10
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    10
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    8
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    8
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
x3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off1
 
5
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    11
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    11
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    5
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    5
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    8
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    8
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    2
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
6
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
7
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    11
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    11
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    4
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    1
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
8
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    12
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    12
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    6
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 
9
Contract: Standard
Requirement Violations Penalty Details
Patterns 0 0
SatisfiedPattern matchesPatternsMatched
Start day12345
Min 10 days off
Min 10 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOff    11
Max 13 days off
Max 13 matches between days 0-27 of pattern:
[Soft constraint, weight=100, function=Linear].
AllOff    11
Min 5 D shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Max 8 D shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllD    7
Min 5 E shifts
Min 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Max 8 E shifts
Max 8 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllE    7
Min 2 N shifts
Min 2 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 5 N shifts
Max 5 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN    3
Max 3 Sundays
Max 3 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
SundaysN or
E or
D
    3
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNNNN 0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllND   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllNE   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllED   0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
OffN or
E or
D
  0
Max consecutive working days
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllN or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
N or
E or
D
0
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=1000, function=Linear].
AllOffN or
E or
D
Off  0
2 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=40, function=Linear].
AllOffN or
E or
D
N or
E or
D
Off 0
3 length stretches
Max 0 matches between days 0-27 of pattern:
[Soft constraint, weight=20, function=Linear].
AllOffN or
E or
D
N or
E or
D
N or
E or
D
Off0
 

Total employees' penalty (soft constraints)

Requirement Penalty
1. Patterns 60
Total 60