Equations with zero relations taking very long to build
Posted: Thu Sep 23, 2021 8:30 pm
Hello,
I have a large model, which is taking a long time to get through the model generation. Once it makes it past that, it is rather quick for the size of the model. To track the performance issue with model generation, I followed the steps outlined in https://www.gams.com/35/docs/UG_ExecErr ... cutionTime, which includes the use of the profile option. When doing this, I see the following summary: What is bewildering me is how the longest parts are equations which I use $ conditionals on to reduce all the way to zero relations. You can see that in the screeenshot above, but also in the .lst What does it mean for a 'NULL' equation to take nearly 5 minutes to build? Are there any further steps I can take to debug? How about steps to reduce this time?
Thansk,
Zack
I have a large model, which is taking a long time to get through the model generation. Once it makes it past that, it is rather quick for the size of the model. To track the performance issue with model generation, I followed the steps outlined in https://www.gams.com/35/docs/UG_ExecErr ... cutionTime, which includes the use of the profile option. When doing this, I see the following summary: What is bewildering me is how the longest parts are equations which I use $ conditionals on to reduce all the way to zero relations. You can see that in the screeenshot above, but also in the .lst What does it mean for a 'NULL' equation to take nearly 5 minutes to build? Are there any further steps I can take to debug? How about steps to reduce this time?
Thansk,
Zack