nutrmin[i] <= sum_j (nutrper[i][j] * buy[j]) <= nutrmax[i]
|
sense = sum_j (cost[j] * buy[j])
|
This way to create the model is shown in function populatebyrow
in example diet.c
.
nutrmin[i] <= ... <= nutrmax[i]
cost(foodCost[j]) "+" "sum_i" (rng[i](nutrper[i][j]))
|