Actually… I see that writers.jl is no longer part of the repo since v0.18. Is it just a matter of converting it to work with JuMP 0.19 and Julia 1.0 or is it gone forever?
Many thanks for this. The suggestion to streamline would be great. Is there a performance impact from the copy_to step for large models, or is this unavoidable?
By the way, if a variable has no coefficients in the objective function or constraints, it is skipped in the column section but the bounds are still reported leading to unknown column errors. I will raise an issue in github.
Thanks a lot. Just here to emphasise that having a streamlined way to write a model to a file with a single call from JuMP would be really nice. At the moment we need to write more code to do the same thing as with 0.18 (plus the additional dependency).
I tried this package to export LP-files (more readable for debugging)… I really liked the old “WriteLP” function as it was quick & simple
Unfortunately, the resulting LP file is not really acceptable as it does not work with solvers due to the fact that is uses the brackets and commas for indices i.e. x[1,3] instead of x_1_3.