JuMPConverter.jl is a converter
for GAMS™ models in .gmx
to JuMP
models in .jl
.
JuMPConverter.jl
is licensed under the MIT License.
Install JuMPConverter as follows:
import Pkg
Pkg.add("https://github.com/blegat/JuMPConverter.jl")
To use JuMPConverter to convert a file file.gms
to a file file.jl
do:
using JuMPConverter
convert_to("file.gms", "file.jl")
To print the JuMP model to the terminal, simply do
using JuMPConverter
convert_to("file.gms")