Closed MaGering closed 11 months ago
The path to the solver log file in optimize.py script is not coded cleanly. If more than one "." occurs in the path, the path will be broken.
optimize.py
A slightly safer option would be the following: solve_kwargs["logfile"] = logfile.split("." + logfile.split(".")[-1])[0] + "_solver_log.log"
solve_kwargs["logfile"] = logfile.split("." + logfile.split(".")[-1])[0] + "_solver_log.log"
The path to the solver log file in
optimize.py
script is not coded cleanly. If more than one "." occurs in the path, the path will be broken.A slightly safer option would be the following:
solve_kwargs["logfile"] = logfile.split("." + logfile.split(".")[-1])[0] + "_solver_log.log"