# The error of using GLPKMathProgInterface pkg

**URL:** <https://discourse.julialang.org/t/the-error-of-using-glpkmathproginterface-pkg/34142>\
**Category:** Optimization (Mathematical)\
**Created:** [February 4, 2020, 3:11am UTC](https://discourse.julialang.org/t/the-error-of-using-glpkmathproginterface-pkg/34142 "2020-02-04T03:11:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 4, 2020, 4:03am UTC](https://discourse.julialang.org/t/the-error-of-using-glpkmathproginterface-pkg/34142/2 "2020-02-04T04:03:45Z")

</div>

Hi there!

Step 1: read [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). In particular, please post what you have tried and the full print-out of the error.

Step 2: You should use `GLPK` instead of `GLPKMathProgInterface` (GLPKMathProgInterface was for an old release with JuMP). To use GLPK with JuMP 0.20, use:

```nohighlight
import Pkg
Pkg.add("GLPK")
using JuMP
using GLPK
model = Model(with_optimizer(GLPK.Optimizer))

```

---

_[View the full topic](https://discourse.julialang.org/t/the-error-of-using-glpkmathproginterface-pkg/34142)._
