We, the researchers at Memorial Sloan-Kettering Cancer Center (MSKCC), are doing this study to compare two methods of treating pain during and after major gynecological surgery. The two methods are called patient-controlled epidural analgesia (PCEA) and patient-controlled intravenous analgesia (PCA). PCA is the standard of care for women having major gynecological surgery. We are going to compare PCEA to PCA to see if PCEA will improve recovery after major gynecologic surgery.