2lp_main() { double infd,lq; double ret3,ret6,ret12,annual_ret; continuous Three[4],Six[3],Twelve[1]; continuous FundValue; infd = 100000; ret3 = 1.02; ret6 = 1.0425; ret12 = 1.0875; lq = 75000; annual_ret = .0825; FundValue >= (1 + annual_ret)*infd; FundValue == ret3*Three[3] + ret6*Six[2] + ret12*Twelve[0]; ret3*Three[2] + ret6*Six[1] >= lq; ret3*Three[2] + ret6*Six[1] == Three[3]; ret3*Three[1] + ret6*Six[0] >= lq; ret3*Three[1] + ret6*Six[0] == Three[2] + Six[2]; ret3*Three[0] >= lq; ret3*Three[0] == Three[1] + Six[1]; Three[0] + Six[0] + Twelve[0] == infd; max: FundValue; printf("A feasible plan is:\n\n"); printf("Invest %.2f in a 3 month CD now\n",Three[0]); printf("Invest %.2f in a 6 month CD now\n",Six[0]); printf("Invest %.2f in a 12 month CD now\n", Twelve[0]); printf("Invest %.2f in a 3 month CD in 3 months\n", Three[1]); printf("Invest %.2f in a 6 month CD in 3 months\n", Six[1]); printf("Invest %.2f in a 3 month CD in 6 months\n", Three[2]); printf("Invest %.2f in a 6 month CD in 6 months\n", Six[2]); printf("Invest %.2f in a 3 month CD in 9 months\n", Three[3]); printf("The fund will be worth %.2f\n",FundValue); }