The error of using GLPKMathProgInterface pkg

Hi there!

Step 1: read Please read: make it easier to help you. 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:

import Pkg
Pkg.add("GLPK")
using JuMP
using GLPK
model = Model(with_optimizer(GLPK.Optimizer))
1 Like