Skip to content

Read and write bnd_s2 instances #20

Answered by sbolusani
rchen234 asked this question in Q&A
Discussion options

You must be logged in to vote

Dear Rui,

You can use the writeProblem() method of PySCIPOpt to convert MPS format files into LP format files (example: model.writeProblem("file_name.lp"); note that the extension "lp" is necessary). The writeLP() method writes the current node's linear relaxation to a file (which is not needed here).

Best,
Suresh

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rchen234
Comment options

Answer selected by rchen234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants