MPS file export #3673
Replies: 1 comment
-
If your model is an LP or MILP (or QP/MIQP) for that matter, you should be able to get the model out in a standard form: From that data, including sparsity structure for A and H, you should be able to produce such an MPS file. If you wanted to do it for a nonlinear model, it could be implemented similar to the AMPL interface: https://github.com/casadi/casadi/blob/main/casadi/interfaces/ampl/ampl_interface.cpp#L104 |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am currently using Casadi with HiGHS to solve LP and MILP problems and would like to export my Casadi model using the mps file format. Is there a way to do this or can you give me a workaround?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions