# 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:** 4

<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 5, 2020, 10:21pm UTC](https://discourse.julialang.org/t/the-error-of-using-glpkmathproginterface-pkg/34142/4 "2020-02-05T22:21:36Z")

</div>

A few things:

1. You’re using a very old version of JuMP.

- You should consult the documentation: [Introduction · JuMP](https://www.juliaopt.org/JuMP.jl/stable/)
- There are also lots of examples: [JuMP.jl/examples at v0.20.1 · jump-dev/JuMP.jl · GitHub](https://github.com/JuliaOpt/JuMP.jl/tree/v0.20.1/examples).
- I recommend you start with the [Quickstart Guide](https://www.juliaopt.org/JuMP.jl/stable/quickstart/), which shows how to use GLPK.

1. Take another read of the [PSA](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757).

- In particular, point 1 describes how to format your code.
- Point 4 is also important: simplify your code as much as possible. Try to reduce it to the minimum amount of code necessary to reproduce the error.

---

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