How to export the coefficient matrix of JuMP model?

Hi all,

In Matlab/Yalmip, we can using export, we can get the coefficient matrix and several “standard form” based on certain solver. For example, if we use Gurobi, we can use export to get A, rhs, sense, vtype, obj

I would like to know if there are similar functions in JuMP?

I think JuMP is also convert various constraints entered by users into a form acceptable to a specific solver.

Thanks a lot!

1 Like

I would like to know if there are similar functions in JuMP?

Unfortunately, there isn’t.

There is a work-in-progress, but it isn’t finished yet: GitHub - jump-dev/MatrixOptInterface.jl: An interface to pass matrix form problems