28-10-2023, 12:56 AM
Dear all,
I am facing the following issue when running my model using the restart option:
My model solves with unscaled infeasibilities (cplex status is: (5) optimal but with unscaled infeasibilities. The issue I am facing happens after this when the solution is read. Here is the log I get:
ADDDATA.gms(1809413) 1358 Mb 16 secs
--- Executing after solve: elapsed 0:08:57.694
--- ADDDATA.gms(1809436) 1358 Mb
--- ADDDATA.gms(1809437) 1358 Mb
--- TIMES Solve status: Optimal
--- ADDDATA.gms(1809927) 1358 Mb
--- ADDDATA.gms(1809940) 1358 Mb
--- ADDDATA.gms(1809946) 1358 Mb
--- ADDDATA.gms(1809971) 1358 Mb
*** Error at line 1809971: division by zero (0)
--- ADDDATA.gms(1809996) 1358 Mb 1 Error
--- ADDDATA.gms(1810089) 1358 Mb 1 Error
--- ADDDATA.gms(1810150) 1358 Mb 1 Error
--- ADDDATA.gms(1810240) 1358 Mb 1 Error
--- ADDDATA.gms(1810327) 1358 Mb 1 Error
--- ADDDATA.gms(1810339) 1358 Mb 1 Error
When using Gams v40 and newer versions, this instigates a hard stop and the prevents the vd files from being written.
With old distribution of Gams (v24) the vd files are written.
Can someone explain what this error suggests and most importantly where to look for potential errors in my model?
I've attached a reproducible case here: https://www.dropbox.com/sh/ejr0n4npp084t...btkKa?dl=0
Please let me know if you need access to the reproducible case and I'll share it with you.
Thank you in advance for your help,
Mahmoud
I am facing the following issue when running my model using the restart option:
My model solves with unscaled infeasibilities (cplex status is: (5) optimal but with unscaled infeasibilities. The issue I am facing happens after this when the solution is read. Here is the log I get:
ADDDATA.gms(1809413) 1358 Mb 16 secs
--- Executing after solve: elapsed 0:08:57.694
--- ADDDATA.gms(1809436) 1358 Mb
--- ADDDATA.gms(1809437) 1358 Mb
--- TIMES Solve status: Optimal
--- ADDDATA.gms(1809927) 1358 Mb
--- ADDDATA.gms(1809940) 1358 Mb
--- ADDDATA.gms(1809946) 1358 Mb
--- ADDDATA.gms(1809971) 1358 Mb
*** Error at line 1809971: division by zero (0)
--- ADDDATA.gms(1809996) 1358 Mb 1 Error
--- ADDDATA.gms(1810089) 1358 Mb 1 Error
--- ADDDATA.gms(1810150) 1358 Mb 1 Error
--- ADDDATA.gms(1810240) 1358 Mb 1 Error
--- ADDDATA.gms(1810327) 1358 Mb 1 Error
--- ADDDATA.gms(1810339) 1358 Mb 1 Error
When using Gams v40 and newer versions, this instigates a hard stop and the prevents the vd files from being written.
With old distribution of Gams (v24) the vd files are written.
Can someone explain what this error suggests and most importantly where to look for potential errors in my model?
I've attached a reproducible case here: https://www.dropbox.com/sh/ejr0n4npp084t...btkKa?dl=0
Please let me know if you need access to the reproducible case and I'll share it with you.
Thank you in advance for your help,
Mahmoud