i have added two constraints   1. every work shift should have 2 nurses but its not working 
                                                   2. the time between anyone's two consecutive shifts should be at least 2 work shifts 

either one can work individually. but it doesn't work to put them together