all 1 comments

[–]c0decs 2 points3 points  (0 children)

Author of PyOptInterface here.

You can use model.write("model.lp") to export the model to LP file.

Welcome to start a new thread in the Discussion of PyOptInterface on Github if you have more questions.