modify LocalSearch2.searcMaintainConstraintsFunction()