Good morning and a very good day to you!
Dear Sir / Madam,
Currently, I am running big data using AIMMS for my Final Year Project to produce an optimal exam timetable. My MIP model consists of 1 decision variable, 3 objective functions and 14 constraints.
I encountered the same problem for many times when I was running my data. I realized that AIMMS will usually shut down on its own after running for more than 2 hours before even getting the results. I have checked my computer to see if it has any technical problems but I have not found any. Can you please help me with this problem?
I am attaching a relevant picture for your further references. I am looking forward to getting a favorable reply from you soon. Thank you for your time and patience.
Hi
Hi
Just some side notes:
- As I look at your picture, it shows that you have ~7 million constraints and ~500k integer variables. To solve a model of this size can take a really long time.
- What you experience can occur if all the RAM is used up by the solver. As a good practice, I would suggest you to always set a time limit / gap limit for the solver (in case you haven’t done it so far).
I hope that I could give you some useful pieces of advice.
Kr,
Zsolti
Hi
In addition to
E.g. variable Transport(i,j) | (RoadExists(i,j) and TravelTime(i,j) <=4)
to only consider possible values for direct connections that can actually be travelled and where TravelTime
is limited to say max 4 hours.
Extra info.
Index domain for variables
“By specifying the IndexDomain
attribute you can restrict the domain of a variable in the same way as that of a parameter. For variables, however, the domain restriction has an additional effect. During the generation of individual constraints AIMMS will reduce the size of the generated mathematical program by including only those variables that satisfy all domain restrictions.”
Domain restriction for constraints
“Restricting the domain of constraints through the IndexDomain
attribute influences the matrix generation process. Constraints are generated only for those tuples in the index domain that satisfy the domain restriction.”
Hi
This morning we released AIMMS 4.79.6.12, which contains a number of improvements wrt loss of licensing connectivity and automatic re-connection, in case that was the cause of your shutdown solver sessions.
You can download it from the AIMMS Launcher (or manually if you so prefer).
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.