A decomposition approach for a resource constrained scheduling problem