Skip to main content

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.

 

  1. I have declare the ingredients and the foods lists.
  1. 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.

  1. 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).

  1. The result im expecting should be somehow like below when i extract from AIMMS for respective patients: 
  1. But what i obtained now is as per below:

 

Question: How come AIMMS cannot read the connected ingredients to the food it belongs?

Hi ​@Anne. To find out what is causing the issue, I think it would help if you could share your AIMMS project. Would it be possible to attach your project here, preferably after adding it to a zip file? You can also send it to our support by email if your project contains sensitive information.


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator