Skip to main content

Hi, 

So I have a very long model(.ams file) of 14MB. It is taking forever for the model to create and run. The window is always in a not responding mode and the status always stays in compiling. Can anybody help me get this long model running?

Immediate help would be appreciated. This is the scalar version.

 

Thanks

 

Hi,

AIMMS is designed to efficiently handle optimization models at the abstract level, not at the instantiated level. In other words, AIMMS models are similar to text book optimization models using the for all and summation operators.

You write that you have a scalar version of the model; do I understand correctly, that you declare a separate variable for each column and a separate constraint for each row in your optimization model?

If that is the case, I suggest you rewrite your model using AIMMS’ sets, indices, parameters for data.  And using AIMMS’ variables and constraints - including their index domain attributes, for the optimization model.

Does this help?

With kind regards,

Chris


Hi, Thanks for the response - Just wanted to quickly point out that since I am new to AIMMS, I did not open the progress window. Turns out CPLEX was solving the model and the window/program was indeed in a responding mode. It’s just that after 10 mins(thinking that the program is not responding), it’s actually the search tree becoming too large and hence not responding.

 

I went and modified the General Solver settings - MIP tolerance - and the scalar model solved within a few seconds!

Thanks!
 


Good to read you can continue!


Reply


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

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