!ENCE 360, Diet LP, LINDO formulation !Dr. Steven A. Gabriel !Need to eat from 4 basic food groups !Nonnegativity of variables assumed ! min 50x1 + 20x2 +30x3+80x4 ! total cost of diet in cents s.t. 400x1 + 200 x2 +150x3 +500x4 >=500 ! (Calorie constraint) 3x1+2x2 >=6 ! (Chocolate constraint) 2x1+2x2+4x3+4x4>=10 ! (Sugar constraint) 2x1+4x2+x3+5x4>=8 ! (Fat Constraint) end ! nonnegative variables assumed