diet - v minimize Total_Cost: sum {j in FOOD} cost[j] *...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
set NUTR; set FOOD; s param cost {FOOD} > 0; param f_min {FOOD} >= 0; param f_max {j in FOOD} >= f_min[j]; p param n_min {NUTR} >= 0; param n_max {i in NUTR} >= n_min[i]; p param amt {NUTR,FOOD} >= 0; p var Buy {j in FOOD} >= f_min[j], <= f_max[j];
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: v minimize Total_Cost: sum {j in FOOD} cost[j] * Buy[j]; m subject to Diet {i in NUTR}: n_min[i] &lt;= sum {j in FOOD} amt[i,j] * Buy[j] &lt;= n_max[i];...
View Full Document

Ask a homework question - tutors are online