> I don’t have glpk2gams, how do I convert an ampl or glpk model to gams?
- Generate an MPS file from AMPL or GLPSOL:
- Use the command line flag –wmps in glpsol
- In AMPL you can use
- Use mps2gms to translate this MPS file into a GAMS file. Note: mps2gms is part of the GAMS distribution so you already have it.
ampl: option auxfiles rc;
ampl: write mxxx;
Here xxx can be replaced by a better name


No comments:
Post a Comment