--
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.
opt = po.SolverFactory("gurobi", solver_io="python")
opt = po.SolverFactory("gurobi", solver_io="nl")
Traceback (most recent call last):...File "C:\Anaconda3_64\lib\site-packages\pyomo\opt\base\solvers.py", line 539, in solveself.available(exception_flag=True)File "C:\Anaconda3_64\lib\site-packages\pyomo\solvers\plugins\solvers\gurobi_direct.py", line 203, in availableraise pyutilib.common.ApplicationError("No Gurobi <-> Python bindings available - Gurobi direct solver functionality is not available")pyutilib.common._exceptions.ApplicationError: No Gurobi <-> Python bindings available - Gurobi direct solver functionality is not available
WARNING: "[base]\site-packages\pyomo\solvers\plugins\solvers\ASL.py", 83, _default_executableCould not locate the 'gurobi_ampl' executable, which is required for solver aslTraceback (most recent call last):...File "C:\Anaconda3_64\lib\site-packages\pyomo\opt\base\solvers.py", line 539, in solveself.available(exception_flag=True)File "C:\Anaconda3_64\lib\site-packages\pyomo\opt\solver\shellcmd.py", line 122, in availableraise ApplicationError(msg % self.name)pyutilib.common._exceptions.ApplicationError: No executable found for solver 'asl'
Sonja Mars of Gurobi sent a fix for the file gurobi_run.py that changes a couple of lines to implement a bulk reading of the variables.
WARNING - Loading a SolverResults object with an 'aborted' status, but containing a solution
Presolve time=11.31 seconds
Solve time=142.48 seconds
Postsolve time=2.15 seconds
Traceback (most recent call last):
…
File "C:\Anaconda3_64\lib\site-packages\pyomo\core\base\PyomoModel.py", line 241, in load_from
"with bad status: %s" % str(results.solver.status))
ValueError: Cannot load a SolverResults object with bad status: aborted