/JuMPConverter.jl

Converter from GAMS models to JuMP models

Primary LanguageJulia

JuMPConverter.jl

Build Status codecov

JuMPConverter.jl is a converter for GAMS™ models in .gmx to JuMP models in .jl.

License

JuMPConverter.jl is licensed under the MIT License.

Installation

Install JuMPConverter as follows:

import Pkg
Pkg.add("https://github.com/blegat/JuMPConverter.jl")

Use with JuMP

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")