I am trying to solve an MIP model with AIMMS. I run the AIMMS for a specific parameters and obtained the optimal solution; I also solved the model with same data/parameters using a heuristic to test the optimal solution- it is indeed the optimal. Now I first change the parameters (i.e., using different values) and save the changes in a new "case" using "save case as" option under different name. Then I set the new case as the "active case" and try the model with the new data. surprisingly AIMMS returns the (same) optimal solution obtained with original "case". I used to use the "single file data management" so I thought this might be the reason. I changed this to "disk files and folders" by going to Menu File > Open > Data file>convert...but it didn't help at all.
I also noticed that when I load a case, the model's decision variables contains some values from perhaps previous runs; not sure if this is normal with AIMMS.
Any help on this is greatly appreciated in advance.
Thanks,
Jean
Solved
Aimms returns the same Opt solution for different cases (data)
Best answer by Jean
Thank you both again for your input.
I figure it out. The problem was about updating the perimeters' values. Because the two parameters used in the model have "three" indices of let say i,j and k then for each k we have a matrix so all the values in all the matrices for different value of k (k=1 to n) must be updated. I just updated the first matrix for k=1 that's why I got the same results no matter the value of the parameters in the new set; silly me!.
I figure it out. The problem was about updating the perimeters' values. Because the two parameters used in the model have "three" indices of let say i,j and k then for each k we have a matrix so all the values in all the matrices for different value of k (k=1 to n) must be updated. I just updated the first matrix for k=1 that's why I got the same results no matter the value of the parameters in the new set; silly me!.
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.