# GAMS executable not found! - JuMP

**URL:** <https://discourse.julialang.org/t/gams-executable-not-found-jump/54927>\
**Category:** Optimization (Mathematical)\
**Created:** [February 9, 2021, 1:44pm UTC](https://discourse.julialang.org/t/gams-executable-not-found-jump/54927 "2021-02-09T13:44:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GraceMabele](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gracemabele/32/21360_2.png) [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Post date:** [February 9, 2021, 1:44pm UTC](https://discourse.julialang.org/t/gams-executable-not-found-jump/54927/1 "2021-02-09T13:44:54Z")

</div>

Hi,

I would like to use the GAMS Optimizer for my JuMP/Julia model. I have installed the GAMS package correctly `using GAMS` and it is updated however, when I want to use it as an optimizer  
as follows

```julia
model_name = Model(GAMS.Optimizer)

```

It returns the following error:

GAMS executable not found!

Stacktrace:  
[1] error(::String) at .\error.jl:33  
[2] GAMSWorkspace() at C:\Users\glmab.julia\packages\GAMS\P8cZ5\src\GAMS.jl:226  
[3] GAMS.Optimizer() at C:\Users\glmab.julia\packages\GAMS\P8cZ5\src\MOI\_wrapper\MOI\_wrapper.jl:115  
[4] \_instantiate\_and\_check(::Type{T} where T) at C:\Users\glmab.julia\packages\MathOptInterface\ZJFKw\src\instantiate.jl:56  
[5] instantiate(::Type{T} where T; with\_bridge\_type::Type{Float64}, with\_names::Bool) at C:\Users\glmab.julia\packages\MathOptInterface\ZJFKw\src\instantiate.jl:107  
[6] set\_optimizer(::Model, ::Type{T} where T; bridge\_constraints::Bool) at C:\Users\glmab.julia\packages\JuMP\y5vgk\src\optimizer\_interface.jl:75  
[7] Model(::Type{T} where T; bridge\_constraints::Bool, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\glmab.julia\packages\JuMP\y5vgk\src\JuMP.jl:235  
[8] Model(::Type{T} where T) at C:\Users\glmab.julia\packages\JuMP\y5vgk\src\JuMP.jl:234  
[9] top-level scope at In[12]:1  
[10] include\_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1091

Hope someone can assist in this regard

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [February 9, 2021, 8:59pm UTC](https://discourse.julialang.org/t/gams-executable-not-found-jump/54927/2 "2021-02-09T20:59:10Z")

</div>

Here are the install instructions: [https://github.com/GAMS-dev/gams.jl#installation](https://github.com/GAMS-dev/gams.jl#installation)

@renkekuhlmann (If they’re on discourse.) should be able to help.

Otherwise, contact GAMS support or open an issue in gams.jl so they can improve the install instructions.

---

<div class="post-metadata">

**Author:** ![mirungu](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@mirungu](https://discourse.julialang.org/u/mirungu)\
**Post date:** [February 12, 2021, 12:32pm UTC](https://discourse.julialang.org/t/gams-executable-not-found-jump/54927/3 "2021-02-12T12:32:14Z")

</div>

The Julia package also requires an installed and configured GAMS distribution. You can get a trial copy [here.](https://www.gams.com/download/)
