Hello everyone,
I am a beginner in GAMS and currently working with the demo version of GAMS (v53.5.1). I’m trying to run a CGE model (MCP formulation), and although my code compiles without syntax errors, the execution fails during the solve stage.
Here is the issue I’m facing:
-
The model compiles successfully.
-
During execution, GAMS starts generating the MCP model (
BENIN_CGE_AFCFTA). -
However, the solve is aborted with 92 errors.
Below is an extract of the key messages from the log:
--- Generating MCP model BENIN_CGE_AFCFTA
--- 96 rows 94 columns 876 non-zeroes
--- 2 fixed-and-unmatched column(s) will be treated as constant
...
92 Errors
*** SOLVE aborted
*** Status: Execution error(s)
Additional information:
-
Model type: MCP (Mixed Complementarity Problem)
-
GAMS version: 53.5.1 (Demo license)
-
System: Windows, 16 GB RAM
-
I am using the demo license, so I am aware there may be size or solver limitations.
I would really appreciate your guidance on the following:
-
What could cause such a large number of errors during the solve phase but not at compilation?
-
Could this issue be related to:
-
Model formulation (e.g., incorrect complementarity conditions, missing equations/variables)?
-
Scaling or numerical instability?
-
Limitations of the demo version?
-
-
How can I effectively identify and debug these 92 errors in the
.lstfile?
Any advice, suggestions, or debugging strategies would be very helpful.
Thank you in advance for your support!
Best regards,