Open
Description
Summary
Updating the attempt_import
statement in pyomo\solvers\plugins\solvers\GAMS.py
from gdxcc
to gams.core.gdx
to use GAMS new API.
Rationale
The attempt_import
statement returns gdxcc_available
as a boolean value that parses the solver result into a .gdx
file if it is true or a .dat
file if it is false. The data file format may affect parsing performance post-solved.
Description
gdxcc, gdxcc_available = attempt_import('gdxcc') # old interface
gdxcc, gdxcc_available = attempt_import('gams.core.gdx') # new interface
Additional information
We are currently comparing the data parsing time after solving between the .dat
and .gdx
data file formats. The model used for the test and the .pkl
time data will be added below.