Skip to main content

Foood Menu Optimization

  • December 16, 2024
  • 4 replies
  • 51 views

Forum|alt.badge.img+3
  • Enthusiast
  • 8 replies

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?

4 replies

Marcel Hunting
AIMMSian
Forum|alt.badge.img+4
  • AIMMSian
  • 258 replies
  • December 19, 2024

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.


Forum|alt.badge.img+3
  • Author
  • Enthusiast
  • 8 replies
  • January 13, 2025

Hi ​@Marcel Hunting can you provide me your email since my data is confidential. I will send my project to your email.  


Marcel Hunting
AIMMSian
Forum|alt.badge.img+4
  • AIMMSian
  • 258 replies
  • January 13, 2025

Hi ​@Anne. Please send it to support@aimms.com. We will treat it as confidential.


Forum|alt.badge.img+3
  • Author
  • Enthusiast
  • 8 replies
  • January 19, 2025

Hi ​@Marcel Hunting. I have sent an email to support@aimms.com. Let me know if you have received it for reviewing. Thank you for your guidance. 



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

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