I have created a model on AIMMS for production. There are no errors but still we are not getting any result. I tried multiple modifications, but I am stuck. I am attaching the model for reference. The formulas have not been used anywhere else except for the attached files.
Error with creating a model on AIMMS Developer
Best answer by gdiepen
Hi,
took a quick look at the project. Saw two main problems:
- You have have not defined an index for the set Product. You put the letter p (which I assume you want to be the index) not in the index attribute, but in the index domain attribute
- You don’t have a statement anywhere that will initiate the solve. Right now, your project is just a definition of the variables, constraints, parameters, and data and you don’t tell AIMMS that it should solve it. The easiest to do this is to add one line to the procedure MainExecution:
solve ObjectFunc ;
After you have added the solve statement to the MainExecution, you can execute it by right-clicking on mainexecution and select run procedure or use the F6 key to run it.
You can also open the AIMMS progress window with CTRL-P to see the output of the solver. After running MainExecution, you should see some information about the mathematical model that was solved.
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.