-
Notifications
You must be signed in to change notification settings - Fork 10
Implement copy_to
#85
Comments
Not that a |
Would there be any benefit to adding a few basic solver traits as part of this? I am thinking of something that signifies columnwise(Clp) vs rowwise(gurobi) data structures. I haven't gotten a chance to run the benchmark yet but I would imagine that for Clp it would be much faster to add "empty" constraints, then add the coefficients when you add the variable (column) |
I think this is an argument for solver-specific implementations. Basically, we need to decide the trade-off between
We also have to consider that LQOI is another level of abstraction between JuMP and the solver. I'm coming round to the idea that solver-specific implementations (with duplication) are worthwhile. Particularly so now that MOI is more settled. |
I dont think LQOI need to be another layer. |
I actually find the LQOI interface much easier to read. If there was a way with helper functions or macros to make MOI more friendly that would be awesome and a maybe a reason to sunset LQOI. That being said the changes to LQOI I have made recently: |
An efficient implementation of
MOI.copy_to
is needed when JuMP is used inAUTOMATIC
mode.See jump-dev/Gurobi.jl#188 (comment).
The text was updated successfully, but these errors were encountered: