Read/Write model files in .opb format #286
Answered
by
sebheger
AlbertZhangHIT
asked this question in
Q&A
-
Hi there, I have many model files in .opb format. How could I translate these files into .mps/.lp format so that python-mip could solve it ? Moreover, is there a way to translate the .mps/.lp format model file into .opb format? |
Beta Was this translation helpful? Give feedback.
Answered by
sebheger
Jun 30, 2022
Replies: 1 comment 2 replies
-
Hi @AlbertZhangHIT, I have never heard about .opd file extension before. .opd files are not supported by python-mip. But gurobi supports it. With a pip installed gurobipy you could read the .opd and then write it as .lp/.mps without solving it. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
AlbertZhangHIT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @AlbertZhangHIT,
I have never heard about .opd file extension before. .opd files are not supported by python-mip. But gurobi supports it. With a pip installed gurobipy you could read the .opd and then write it as .lp/.mps without solving it.