I'm using Gurobi solver for a mathematical problem in Ubuntu. I have installed Gurobi through Anaconda and have successfully installed a license for it. However, I'm getting this error after a few minutes.
File "Model22.py", line 704, in <module>
results = solver_manager.solve(model)
File "/home/urafiee/anaconda3/lib/python3.8/site-packages/pyomo/opt/base/solvers.py", line 601, in solve
result = self._postsolve()
File "/home/urafiee/anaconda3/lib/python3.8/site-packages/pyomo/solvers/plugins/solvers/ASL.py", line 220, in _postsolve
return SystemCallSolver._postsolve(self)
File "/home/urafiee/anaconda3/lib/python3.8/site-packages/pyomo/opt/solver/shellcmd.py", line 277, in _postsolve
results = self.process_output(self._rc)
File "/home/urafiee/anaconda3/lib/python3.8/site-packages/pyomo/opt/solver/shellcmd.py", line 371, in process_output
results = self._results_reader(self._results_file,
File "/home/urafiee/anaconda3/lib/python3.8/site-packages/pyomo/opt/plugins/sol.py", line 42, in __call__
with open(filename,"r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpsau52uq0.pyomo.sol'
It's noteworthy to say that this exact model is solved to optimality on a different system with Windows OS. I'd appreciate it if anybody could help.
Thanks,