You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using SparseArrays
using MathProgBase
using JuMP
using Clp
m = Model(solver = ClpSolver())
JuMP.build(m)
MathProgBase.getconstrmatrix(internalmodel(m))
(It also breaks if the model is non-empty, the above is simply a small example)
produces the error:
ERROR: UndefVarError: SparseMatrixCSC not defined
Stacktrace:
[1] getconstrmatrix(::Clp.ClpMathProgSolverInterface.ClpMathProgModel) at C:\Users\MärtaEdvin\.juli
a\packages\Clp\qWiux\src\ClpSolverInterface.jl:116
[2] top-level scope at none:0
including using SparseArray inClpSolverInterface.jl, resolves the problem.
Is this an real issue or am I misusing the MathProgBase.getconstrmatrix?
The text was updated successfully, but these errors were encountered:
Hi,
I'm using Clp through JuMP, calling the code:
(It also breaks if the model is non-empty, the above is simply a small example)
produces the error:
including
using SparseArray
inClpSolverInterface.jl, resolves the problem.Is this an real issue or am I misusing the MathProgBase.getconstrmatrix?
The text was updated successfully, but these errors were encountered: