Solve all periods vs Solve one-by-one

  • 20 October 2021
  • 1 reply
  • 96 views

Userlevel 5
Badge +1
One customer recently shared with us a success in reducing a long solve time by 80% with the new functions CreateBlockMatrices and SendToModelSelection available as of version 4.81.1
 
Could this method help your model solve faster? See details about the case below.
 

We were facing issues with the solve time of this model, especially given the exponential growth of solve time when we solved larger models. Back in January, we started to investigate the cause of the long solve time together with AIMMS. However, the start of this investigation was daunting: no matter what we tried in model reformulation, scaling, different solvers or solver settings, the performance did not significantly improve.  

We concluded that if all else failed, we could always solve the individual time periods in the model one-by-one (because in fact those time periods are not connected). To efficiently split the generated matrix in smaller independent submatrices, solve them one-by-one, and merge back into one solution, AIMMS developed the CreateBlockMatrices and SendToModelSelection functionality. And in fact, this turned out to be a great success in improving the performance of this model.  

Following the release of the new AIMMS functionalities, we implemented the solution method in our application and the graph below shows how the solve time of this model has drastically decreased with the newly implemented functionalities. For our larger models, it drops from ~1:30h to ~15 minutes.  

 
Difference in solve time when solving all periods vs. one-by-one in example case

In fact, the new approach would even allow us to solve the individual time periods in parallel on AIMMS PRO, but we have not yet implemented that. So, there is opportunity for further improvement still. 

On behalf of our users, a big thank you to AIMMS for your support on this. As a result of this new functionality, our users can now run their analyses quicker, greatly improving their daily workflow. Our users are really pleased with the speed at which they can now run their models, and I wanted to extend their compliments to AIMMS as well.


1 reply

Badge

That's great! We are mannually doing this since ~2015 ! 

Reply


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

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