Mona Jalal
Mona Jalal

Reputation: 38135

UndefVarError: Model not defined

How should I fix the following error?

Pkg.add("JuMP")
Pkg.add("Clp")
m = Model()

and I get the following error:

LoadError: UndefVarError: Model not defined
while loading In[4], in expression starting on line 1

Upvotes: 2

Views: 1603

Answers (1)

Mona Jalal
Mona Jalal

Reputation: 38135

You should use using JuMP before calling m=Model()

Upvotes: 2

Related Questions