Replies: 1 comment 4 replies
-
Hi Paul, thank you very much for noting this! I just pushed an update to the Python example that should also print solutions much faster. Can you check? Is there still a huge difference to the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
To other users of the pySCIPopt package : the solution provided in the examples/python_example/run.py file to write the best primal solution in a __.sol file is not suited for series with a large number of variables. For rhs obj series 1(>90e3 variables), it takes 15 to 25 min to write the problem solution.
Using the writeBestSol(filename : str, write_zeros : bool) method from pyscipopt.Model, this time is reduced to 0.013s.
To the organizers : is it ok to change the approach for writing down solutions? The .sol format is very close to the one you describe in RULES.md.
Here is a sample on rhs_obj_1 with write_zeros = False:
To be compared to the examples/python_example/run.py version:
Beta Was this translation helpful? Give feedback.
All reactions