Benoît Legat
Benoît Legat
Good catch, I'd vote for `mergevars` to accept an `AbstractArray`
So you mean if a packages has some part that only works on DynamicPolynomials variables ? At the moment, there are no other so maybe you can use `DynamicPolynomials.Variable` directly...
What would be the use case for this ? I try to keep the code as simple as possible and only add complication when there is a compelling use case...
The issue is that you are giving `Vector{Any}`. Maybe we can implement a fallback or a better error so let's keep this issue open. In the meantime, use this as...
GLPK is not the only solver that would struggle when there are no constraints, we might want to do a special case for this in Polyhedra.jl
Why is it restrictive ? This allows v1.20 and above
It shouldn't be hard to do, we just need to replace `Model` by `GenericModel` at a few places