A Method to Integrate Planning and Coordination