JuliaPolyhedra / Polyhedra.jl

Polyhedral Computation Interface
Other
174 stars 27 forks source link

JuMP interface: prepConstrMatrix doesn't exist anymore #160

Closed matbesancon closed 5 years ago

matbesancon commented 5 years ago

Running a JuMP example:

julia> m = Model()
julia> @variable(m, α[1:2,1:2] >= 0)
julia> @variable(m, β[1:2] >= 0)
julia> poly = Polyhedra.polyhedron(m, CDDLib.Library(:exact))
ERROR: UndefVarError: prepConstrMatrix not defined
Stacktrace:
 [1] LPHRepresentation(::Model) at /home/mbesancon/.julia/packages/Polyhedra/Su6Kf/src/jump.jl:13
 [2] polyhedron(::Model, ::CDDLib.Library) at /home/mbesancon/.julia/packages/Polyhedra/Su6Kf/src/jump.jl:28
 [3] top-level scope at none:0
blegat commented 5 years ago

This should be resolved on master, I am waiting for the switch to Registrator to tag a new release.

matbesancon commented 5 years ago

Ok closing this one, thanks. Good to know that one needs CDDLib master to work with Polyhedra master