The optimization of a maintenance policy related to a global service contract