After a local solver run, I understand that it might make sense to cleanup() the gekko files and the application (temp) directory. This always requires an explicit call to the according function. If forgotten, the files remain there.
Users
Normal users that just want to have a solution and don't care about the files.
The problem
After a local solver run, I understand that it might make sense to
cleanup()
the gekko files and the application (temp) directory. This always requires an explicit call to the according function. If forgotten, the files remain there.Users
Normal users that just want to have a solution and don't care about the files.
The solution
Provide a context manager for the GEKKO class. For example