Closed lovasoa closed 9 months ago
@lovasoa I think this is much nicer! One question: in your opinion, would it make sense to replace &str
with an enum having variants for CoinCbc, minilp, and others? (Of course, once the enum is in place, the "printing" functionality reduces to implementing Display
for that enum.)
I think it would be much more helpful the other way round, if we had an AnySolver
enum with the actual solver objects in it, and it actually implemented the Solver
trait. That would make working with dynamic solvers easier.
I'm going to merge this already, and we can add the AnySolver enum later.
@k-sidorov, @NickHu, would that solve your problem ?
Closes #40 Fixes #32