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.