I downloaded Gurobi license on my pc and ran my code, and then a colleague downloaded the academic license as well on her pc. As soon as I logged in Outlook using my credentials on her device, she and I received this error message trying to run our code which was working completely fine before that log in.
Set parameter Username Academic license - for non-commercial use only - expires 2024-08-17 Traceback (most recent call last): File "<stdin>", line 5, in <module> File "C:\Users\boroomandnia\AppData\Local\anaconda3\Lib\site-packages\pyomo\solvers\plugins\solvers\GUROBI_RUN.py", line 66, in gurobi_run model = read(model_file) File "src\gurobipy\gurobi.pxi", line 3647, in gurobipy.read File "src\gurobipy\gurobi.pxi", line 86, in gurobipy.gurobi.read gurobipy.GurobiError: Unable to read model Error reading LP format file C:\Users\BOROOM~1\AppData\Local\Temp\tmpao2qz9t0.pyomo.lp at line 140215 Unrecognized constraint RHS or sense Neighboring tokens: " = nan c_u_x70111_: +1 x70110 -10000.0 x70112 " Unable to read file ERROR: Solver (gurobi) returned non-zero return code (1) ERROR: See the solver log above for diagnostic information.
File ~\AppData\Local\anaconda3\Lib\site-packages\pyomo\opt\base\solvers.py:627, in OptSolver.solve(self, *args, **kwds) 625 elif hasattr(_status, 'log') and _status.log: 626 logger.error("Solver log:\n" + str(_status.log)) --> 627 raise ApplicationError("Solver (%s) did not exit normally" % self.name) 628 solve_completion_time = time.time() 629 if self._report_timing: ApplicationError: Solver (gurobi) did not exit normally
How can I urgently fix this error? I tried to submit a request, but support isn't offered for academic license.
Please sign in to leave a comment.