Hi, i have found the reason behind infeasibility, there were corrections to be made in one of the constraint. Thank you for helping me. I need further assistance on this, I will display my project here on what i have done.
- I have declare the ingredients and the foods lists.
- The sodium content is of the food, not of the ingredient. After declaring the ingredients, i am connecting the ingredients with the food that it belongs to (in parameter called as recipe):
Simple example, bread slice the ingredient not much, so its just bread slice. For tuna sandwich it is bread slice, tuna and mayonnaise i have tick across and i thought AIMMS can read the ingredients as the subset of the respective foods.
I find it somehow correct by the way AIMMS show this.
- Linking with the constraint
Callback the parameter “recipe” in one of the constraint as i am using Linear programming model to solve this problem. And the decision variable X includes (days, s-meals, food, ingredients, patients).
- The result im expecting should be somehow like below when i extract from AIMMS for respective patients:
- But what i obtained now is as per below:
Question: How come AIMMS cannot read the connected ingredients to the food it belongs?