Taking Your Optimization Skills to the Next Level
If you are an optimization beginner, I would recommend you to start with the why and the how, before returning to this post. Here I provide additional information by explaining common practices when problems are a bit more complicated than basic toy examples. By adding tee True to opt.solve(model) the progress of the solver prints during optimizing. You can also choose to write the log to a file by specifying a logfile'fn.log' . The log gives information about the run and can be valuable for setting limits.
Mar-28-2022, 14:20:15 GMT
- Technology: