In SAS OPTMODEL procedure, let's assume we have four string sets: products {pro1, pro2, pro3}, items {pro1, pro2, pro3}, fakeitem {pro1, pro3}, gooditem {pro1, gooda, goodb};
and one number, cost(products) = {3, 5, 2}.
Then apparently, we have sum{p in products} cost(p) = 10.
My question to you is that: Are the below three equations true as well?
sum{p in items} cost(p) = 10;
sum(p in fakeitem} cost(p) = 5;
sum(p in gooditem} cost(p) = 3.
Appreciate your answers, thank you very much.