Optimizing the Operations on an Offshore Drilling Rig