A Method of Integrating Engineering and Economic Planning