RATIONALE: Exercise may help improve lung function and lessen complications of surgery in patients with chronic obstructive pulmonary disease who are undergoing surgery for lung cancer. It is not yet known whether lung rehabilitation is more effective than standard therapy in improving lung function in patients with chronic obstructive pulmonary disease who are undergoing surgery for lung cancer.