For each nurse the number of working weed-ends must be less than or equal to the maximum. How do I model this?

A week-end is considered “working” if at least one of the two days (Sat and Sun) is busy for the nurse. We can not synthesize the “working” in GUI, so we use Python.
Then we count and constrain the “working” as follows. See Python Constraint Programming Manual .

import sc3
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('HN_0',StartDate+5,'Y'),~sc3.GetShiftVar('HN_0',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('HN_0',StartDate+12,'Y'),~sc3.GetShiftVar('HN_0',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('HN_0',StartDate+19,'Y'),~sc3.GetShiftVar('HN_0',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('HN_0',StartDate+26,'Y'),~sc3.GetShiftVar('HN_0',StartDate+27,'Y'))]),"Working_Weekend HN_0",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('HN_1',StartDate+5,'Y'),~sc3.GetShiftVar('HN_1',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('HN_1',StartDate+12,'Y'),~sc3.GetShiftVar('HN_1',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('HN_1',StartDate+19,'Y'),~sc3.GetShiftVar('HN_1',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('HN_1',StartDate+26,'Y'),~sc3.GetShiftVar('HN_1',StartDate+27,'Y'))]),"Working_Weekend HN_1",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('HN_2',StartDate+5,'Y'),~sc3.GetShiftVar('HN_2',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('HN_2',StartDate+12,'Y'),~sc3.GetShiftVar('HN_2',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('HN_2',StartDate+19,'Y'),~sc3.GetShiftVar('HN_2',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('HN_2',StartDate+26,'Y'),~sc3.GetShiftVar('HN_2',StartDate+27,'Y'))]),"Working_Weekend HN_2",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('HN_3',StartDate+5,'Y'),~sc3.GetShiftVar('HN_3',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('HN_3',StartDate+12,'Y'),~sc3.GetShiftVar('HN_3',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('HN_3',StartDate+19,'Y'),~sc3.GetShiftVar('HN_3',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('HN_3',StartDate+26,'Y'),~sc3.GetShiftVar('HN_3',StartDate+27,'Y'))]),"Working_Weekend HN_3",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('HN_4',StartDate+5,'Y'),~sc3.GetShiftVar('HN_4',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('HN_4',StartDate+12,'Y'),~sc3.GetShiftVar('HN_4',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('HN_4',StartDate+19,'Y'),~sc3.GetShiftVar('HN_4',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('HN_4',StartDate+26,'Y'),~sc3.GetShiftVar('HN_4',StartDate+27,'Y'))]),"Working_Weekend HN_4",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('HN_5',StartDate+5,'Y'),~sc3.GetShiftVar('HN_5',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('HN_5',StartDate+12,'Y'),~sc3.GetShiftVar('HN_5',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('HN_5',StartDate+19,'Y'),~sc3.GetShiftVar('HN_5',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('HN_5',StartDate+26,'Y'),~sc3.GetShiftVar('HN_5',StartDate+27,'Y'))]),"Working_Weekend HN_5",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_6',StartDate+5,'Y'),~sc3.GetShiftVar('NU_6',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_6',StartDate+12,'Y'),~sc3.GetShiftVar('NU_6',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_6',StartDate+19,'Y'),~sc3.GetShiftVar('NU_6',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_6',StartDate+26,'Y'),~sc3.GetShiftVar('NU_6',StartDate+27,'Y'))]),"Working_Weekend NU_6",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_7',StartDate+5,'Y'),~sc3.GetShiftVar('NU_7',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_7',StartDate+12,'Y'),~sc3.GetShiftVar('NU_7',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_7',StartDate+19,'Y'),~sc3.GetShiftVar('NU_7',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_7',StartDate+26,'Y'),~sc3.GetShiftVar('NU_7',StartDate+27,'Y'))]),"Working_Weekend NU_7",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_8',StartDate+5,'Y'),~sc3.GetShiftVar('NU_8',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_8',StartDate+12,'Y'),~sc3.GetShiftVar('NU_8',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_8',StartDate+19,'Y'),~sc3.GetShiftVar('NU_8',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_8',StartDate+26,'Y'),~sc3.GetShiftVar('NU_8',StartDate+27,'Y'))]),"Working_Weekend NU_8",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_9',StartDate+5,'Y'),~sc3.GetShiftVar('NU_9',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_9',StartDate+12,'Y'),~sc3.GetShiftVar('NU_9',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_9',StartDate+19,'Y'),~sc3.GetShiftVar('NU_9',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_9',StartDate+26,'Y'),~sc3.GetShiftVar('NU_9',StartDate+27,'Y'))]),"Working_Weekend NU_9",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_10',StartDate+5,'Y'),~sc3.GetShiftVar('NU_10',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_10',StartDate+12,'Y'),~sc3.GetShiftVar('NU_10',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_10',StartDate+19,'Y'),~sc3.GetShiftVar('NU_10',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_10',StartDate+26,'Y'),~sc3.GetShiftVar('NU_10',StartDate+27,'Y'))]),"Working_Weekend NU_10",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('NU_11',StartDate+5,'Y'),~sc3.GetShiftVar('NU_11',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_11',StartDate+12,'Y'),~sc3.GetShiftVar('NU_11',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_11',StartDate+19,'Y'),~sc3.GetShiftVar('NU_11',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_11',StartDate+26,'Y'),~sc3.GetShiftVar('NU_11',StartDate+27,'Y'))]),"Working_Weekend NU_11",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('NU_12',StartDate+5,'Y'),~sc3.GetShiftVar('NU_12',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_12',StartDate+12,'Y'),~sc3.GetShiftVar('NU_12',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_12',StartDate+19,'Y'),~sc3.GetShiftVar('NU_12',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_12',StartDate+26,'Y'),~sc3.GetShiftVar('NU_12',StartDate+27,'Y'))]),"Working_Weekend NU_12",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('NU_13',StartDate+5,'Y'),~sc3.GetShiftVar('NU_13',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_13',StartDate+12,'Y'),~sc3.GetShiftVar('NU_13',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_13',StartDate+19,'Y'),~sc3.GetShiftVar('NU_13',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_13',StartDate+26,'Y'),~sc3.GetShiftVar('NU_13',StartDate+27,'Y'))]),"Working_Weekend NU_13",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('NU_14',StartDate+5,'Y'),~sc3.GetShiftVar('NU_14',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_14',StartDate+12,'Y'),~sc3.GetShiftVar('NU_14',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_14',StartDate+19,'Y'),~sc3.GetShiftVar('NU_14',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_14',StartDate+26,'Y'),~sc3.GetShiftVar('NU_14',StartDate+27,'Y'))]),"Working_Weekend NU_14",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_15',StartDate+5,'Y'),~sc3.GetShiftVar('NU_15',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_15',StartDate+12,'Y'),~sc3.GetShiftVar('NU_15',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_15',StartDate+19,'Y'),~sc3.GetShiftVar('NU_15',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_15',StartDate+26,'Y'),~sc3.GetShiftVar('NU_15',StartDate+27,'Y'))]),"Working_Weekend NU_15",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('NU_16',StartDate+5,'Y'),~sc3.GetShiftVar('NU_16',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('NU_16',StartDate+12,'Y'),~sc3.GetShiftVar('NU_16',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('NU_16',StartDate+19,'Y'),~sc3.GetShiftVar('NU_16',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('NU_16',StartDate+26,'Y'),~sc3.GetShiftVar('NU_16',StartDate+27,'Y'))]),"Working_Weekend NU_16",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('CT_17',StartDate+5,'Y'),~sc3.GetShiftVar('CT_17',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_17',StartDate+12,'Y'),~sc3.GetShiftVar('CT_17',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_17',StartDate+19,'Y'),~sc3.GetShiftVar('CT_17',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_17',StartDate+26,'Y'),~sc3.GetShiftVar('CT_17',StartDate+27,'Y'))]),"Working_Weekend CT_17",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('CT_18',StartDate+5,'Y'),~sc3.GetShiftVar('CT_18',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_18',StartDate+12,'Y'),~sc3.GetShiftVar('CT_18',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_18',StartDate+19,'Y'),~sc3.GetShiftVar('CT_18',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_18',StartDate+26,'Y'),~sc3.GetShiftVar('CT_18',StartDate+27,'Y'))]),"Working_Weekend CT_18",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('CT_19',StartDate+5,'Y'),~sc3.GetShiftVar('CT_19',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_19',StartDate+12,'Y'),~sc3.GetShiftVar('CT_19',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_19',StartDate+19,'Y'),~sc3.GetShiftVar('CT_19',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_19',StartDate+26,'Y'),~sc3.GetShiftVar('CT_19',StartDate+27,'Y'))]),"Working_Weekend CT_19",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('CT_20',StartDate+5,'Y'),~sc3.GetShiftVar('CT_20',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_20',StartDate+12,'Y'),~sc3.GetShiftVar('CT_20',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_20',StartDate+19,'Y'),~sc3.GetShiftVar('CT_20',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_20',StartDate+26,'Y'),~sc3.GetShiftVar('CT_20',StartDate+27,'Y'))]),"Working_Weekend CT_20",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('CT_21',StartDate+5,'Y'),~sc3.GetShiftVar('CT_21',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_21',StartDate+12,'Y'),~sc3.GetShiftVar('CT_21',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_21',StartDate+19,'Y'),~sc3.GetShiftVar('CT_21',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_21',StartDate+26,'Y'),~sc3.GetShiftVar('CT_21',StartDate+27,'Y'))]),"Working_Weekend CT_21",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('CT_22',StartDate+5,'Y'),~sc3.GetShiftVar('CT_22',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_22',StartDate+12,'Y'),~sc3.GetShiftVar('CT_22',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_22',StartDate+19,'Y'),~sc3.GetShiftVar('CT_22',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_22',StartDate+26,'Y'),~sc3.GetShiftVar('CT_22',StartDate+27,'Y'))]),"Working_Weekend CT_22",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('CT_23',StartDate+5,'Y'),~sc3.GetShiftVar('CT_23',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_23',StartDate+12,'Y'),~sc3.GetShiftVar('CT_23',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_23',StartDate+19,'Y'),~sc3.GetShiftVar('CT_23',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_23',StartDate+26,'Y'),~sc3.GetShiftVar('CT_23',StartDate+27,'Y'))]),"Working_Weekend CT_23",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('CT_24',StartDate+5,'Y'),~sc3.GetShiftVar('CT_24',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_24',StartDate+12,'Y'),~sc3.GetShiftVar('CT_24',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_24',StartDate+19,'Y'),~sc3.GetShiftVar('CT_24',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_24',StartDate+26,'Y'),~sc3.GetShiftVar('CT_24',StartDate+27,'Y'))]),"Working_Weekend CT_24",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('CT_25',StartDate+5,'Y'),~sc3.GetShiftVar('CT_25',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_25',StartDate+12,'Y'),~sc3.GetShiftVar('CT_25',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_25',StartDate+19,'Y'),~sc3.GetShiftVar('CT_25',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_25',StartDate+26,'Y'),~sc3.GetShiftVar('CT_25',StartDate+27,'Y'))]),"Working_Weekend CT_25",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('CT_26',StartDate+5,'Y'),~sc3.GetShiftVar('CT_26',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_26',StartDate+12,'Y'),~sc3.GetShiftVar('CT_26',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_26',StartDate+19,'Y'),~sc3.GetShiftVar('CT_26',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_26',StartDate+26,'Y'),~sc3.GetShiftVar('CT_26',StartDate+27,'Y'))]),"Working_Weekend CT_26",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('CT_27',StartDate+5,'Y'),~sc3.GetShiftVar('CT_27',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_27',StartDate+12,'Y'),~sc3.GetShiftVar('CT_27',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_27',StartDate+19,'Y'),~sc3.GetShiftVar('CT_27',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_27',StartDate+26,'Y'),~sc3.GetShiftVar('CT_27',StartDate+27,'Y'))]),"Working_Weekend CT_27",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('CT_28',StartDate+5,'Y'),~sc3.GetShiftVar('CT_28',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('CT_28',StartDate+12,'Y'),~sc3.GetShiftVar('CT_28',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('CT_28',StartDate+19,'Y'),~sc3.GetShiftVar('CT_28',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('CT_28',StartDate+26,'Y'),~sc3.GetShiftVar('CT_28',StartDate+27,'Y'))]),"Working_Weekend CT_28",4)
sc3.AddSoft(sc3.SeqError(0,1,1,[sc3.Or(~sc3.GetShiftVar('TR_29',StartDate+5,'Y'),~sc3.GetShiftVar('TR_29',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('TR_29',StartDate+12,'Y'),~sc3.GetShiftVar('TR_29',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('TR_29',StartDate+19,'Y'),~sc3.GetShiftVar('TR_29',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('TR_29',StartDate+26,'Y'),~sc3.GetShiftVar('TR_29',StartDate+27,'Y'))]),"Working_Weekend TR_29",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('TR_30',StartDate+5,'Y'),~sc3.GetShiftVar('TR_30',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('TR_30',StartDate+12,'Y'),~sc3.GetShiftVar('TR_30',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('TR_30',StartDate+19,'Y'),~sc3.GetShiftVar('TR_30',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('TR_30',StartDate+26,'Y'),~sc3.GetShiftVar('TR_30',StartDate+27,'Y'))]),"Working_Weekend TR_30",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('TR_31',StartDate+5,'Y'),~sc3.GetShiftVar('TR_31',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('TR_31',StartDate+12,'Y'),~sc3.GetShiftVar('TR_31',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('TR_31',StartDate+19,'Y'),~sc3.GetShiftVar('TR_31',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('TR_31',StartDate+26,'Y'),~sc3.GetShiftVar('TR_31',StartDate+27,'Y'))]),"Working_Weekend TR_31",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('TR_32',StartDate+5,'Y'),~sc3.GetShiftVar('TR_32',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('TR_32',StartDate+12,'Y'),~sc3.GetShiftVar('TR_32',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('TR_32',StartDate+19,'Y'),~sc3.GetShiftVar('TR_32',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('TR_32',StartDate+26,'Y'),~sc3.GetShiftVar('TR_32',StartDate+27,'Y'))]),"Working_Weekend TR_32",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('TR_33',StartDate+5,'Y'),~sc3.GetShiftVar('TR_33',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('TR_33',StartDate+12,'Y'),~sc3.GetShiftVar('TR_33',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('TR_33',StartDate+19,'Y'),~sc3.GetShiftVar('TR_33',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('TR_33',StartDate+26,'Y'),~sc3.GetShiftVar('TR_33',StartDate+27,'Y'))]),"Working_Weekend TR_33",4)
sc3.AddSoft(sc3.SeqError(0,2,2,[sc3.Or(~sc3.GetShiftVar('TR_34',StartDate+5,'Y'),~sc3.GetShiftVar('TR_34',StartDate+6,'Y')),sc3.Or(~sc3.GetShiftVar('TR_34',StartDate+12,'Y'),~sc3.GetShiftVar('TR_34',StartDate+13,'Y')),sc3.Or(~sc3.GetShiftVar('TR_34',StartDate+19,'Y'),~sc3.GetShiftVar('TR_34',StartDate+20,'Y')),sc3.Or(~sc3.GetShiftVar('TR_34',StartDate+26,'Y'),~sc3.GetShiftVar('TR_34',StartDate+27,'Y'))]),"Working_Weekend TR_34",4)



Load the Project File

File → Open Project File from GitHub