You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importpyscipoptm=pyscipopt.Model("test")
m.redirectOutput()
m.optimize()
# writes out the usual log filesm.writeProblem("test.mps")
# writes the model description (in mps format) to the python console but not to file# test.mps is created but is empty
After calling
redirectOutput()
, e.g.writeProblem()
does not produce a file but prints the problem description to the outstream.Apparently, we redirect everything to the new messagehandler.
The text was updated successfully, but these errors were encountered: