RecruitingBehavioural interventionPreserving Physical Function in Older Adults With Cancer: Impact of an Optimizing Nutrition Intervention Applied Before and After SurgeryIn this pragmatic clinical trial, the investigators will study older Veterans approaching surgery for gastrointestinal or genitourinary cancer who are at high risk for a marked decline in their physical function. The investigators will test a multi-targeted nutrition regimen high in protein and other key nutrients and including resistance exercise, administered 2-8 weeks prior to surgery and for 24 weeks after discharge from surgery, with the goal of protecting physical function and improving physiologic, metabolic, and patient-centered outcomes. The findings of this study will promote a better intervention to compensate for the high nutritional demands of cancer and its treatment and lead to stronger, more rapid physical recoveries and better quality of life for older adults with moderate to advanced cancer- a group that has rarely been included in long-term nutrition studies. In addition to providing direct benefits to Veterans, the study may also benefit the VA by decreasing demands on the health care system via hastening the recovery of physical function.