Skip to main content
Solved

Model for Inventory Optimization

  • November 17, 2020
  • 2 replies
  • 131 views

  • Explorer
  • 3 replies

Hello

I have created another model for practice on AIMMS for inventory optimization. There are no errors during compiling however I am getting the attached error while running the procedure in the Main Execution part.

 

The model and the error have been attached as a zipped file for reference.

 

Thank you for all the help! 

Best answer by gdiepen

Took a quick look at the model and seeing some things that stick out:

  • Your variable OrderQty has also a definition in terms of OrderQty. Looks a bit cyclic
  • In your TotalCost definition, you divide a term by the variable OrderQty. You might want to see whether you can rewrite it in such a way that you do not device by orderQty because now it is a non linear program instead of a linear program which you might want to have.

2 replies

gdiepen
AIMMS Champ
Forum|alt.badge.img+7
  • AIMMS Champ
  • 155 replies
  • Answer
  • November 18, 2020

Took a quick look at the model and seeing some things that stick out:

  • Your variable OrderQty has also a definition in terms of OrderQty. Looks a bit cyclic
  • In your TotalCost definition, you divide a term by the variable OrderQty. You might want to see whether you can rewrite it in such a way that you do not device by orderQty because now it is a non linear program instead of a linear program which you might want to have.

  • Author
  • Explorer
  • 3 replies
  • November 22, 2020

Your advice helped again. Thanks!



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

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