Model for Inventory Optimization

  • 18 November 2020
  • 2 replies


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 18 November 2020, 17:36

View original

2 replies

Userlevel 5
Badge +7

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.

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