appropriate objective function

118) It’s time to buy pet food again and Lisa heads to the grocery store with $40 in her purse, leaving her seven hungry cats and four hungry dogs at home. Dog food costs $1 per can and cat food costs $0.50 per can. Dogs eat two full cans of food each day but cats eat only one can. Lisa would like to buy enough food to last through her three-day weekend. What is an appropriate objective function for this scenario?

A) Min Z = 1D + 0.5C

B) Min Z = 2D + 1C

C) Min Z = D + C ≤ 40

D) Min Z = D + C ≥ 3