File "C:\Anaconda3\lib\site.py", line 176file=sys.stderr)^SyntaxError: invalid syntaxERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 570, solveSolver (gurobi) returned non-zero return code (1)ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 573, solveSee the solver log above for diagnostic information.Traceback (most recent call last):File "D:\Python\urbs_tree\runme.py", line 205, in <module>sce_number, current_sce_no)File "D:\Python\urbs_tree\runme.py", line 144, in run_scenarioresult = optim.solve(prob, tee=True)File "C:\Anaconda3\lib\site-packages\pyomo\opt\base\solvers.py", line 577, in solve"Solver (%s) did not exit normally" % self.name)pyutilib.common._exceptions.ApplicationError: Solver (gurobi) did not exit normally
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On May 10, 2016, at 11:18 PM, stl...@gmail.com wrote:
optim = SolverFactory('gurobi') # cplex, glpk, gurobi, ...
optim = setup_solver(optim, logfile=log_filename)result = optim.solve(prob, tee=True)