WARNING: "[base]\site-packages\pyomo\solvers\plugins\solvers\XPRESS.py", 98, executable Could not locate the 'optimizer' executable, which is required for solver xpressCLASSPATH=%XPRESSDIR%\lib\xprs.jar;%XPRESSDIR%\lib\xprb.jar;%XPRESSDIR%\lib\xprm.jar;
INCLUDE=%XPRESSDIR%\include;
LIB=%XPRESSDIR%\lib;
XPRESSDIR=C:\Programs\xpressmp--
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.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "amplxpress"and returned an UnknownSolver object. This error is raised at the pointwhere the UnknownSolver object was used as if it were valid (by callingmethod "solve").
The original solver was created with the following parameters: type: amplxpress _args: () options: {}
XPRESS 28.01: xpress: jacdim: got M = 0, N = 0, NO = 0Edit: I just saw your answer. For that, xpress only gives the following answer:XPRESS 28.01: xpress: jacdim: got M = 0, N = 0, NO = 0
WARNING: "[base]\site-packages\pyomo\solvers\plugins\solvers\ASL.py", 73, executable No solver option specified for ASL solver interfaceTraceback (most recent call last): File "C:\Users\Rolf\git\cvar\src\tests\Solvers.py", line 25, in <module> result = opt.solve(model) File "C:\Programs\Anaconda2\lib\site-packages\pyomo\opt\base\solvers.py", line 499, in solve self.available(exception_flag=True) File "C:\Programs\Anaconda2\lib\site-packages\pyomo\opt\solver\shellcmd.py", line 52, in available raise ApplicationError(msg % self.name)pyutilib.common._exceptions.ApplicationError: No executable found for solver 'asl'Error processing line 2 of C:\Programs\Anaconda2\lib\site-packages\Pyomo-4.3.11377-py2.7-nspkg.pth:
Traceback (most recent call last): File "C:\Programs\Anaconda2\lib\site.py", line 152, in addpackage exec line File "<string>", line 1, in <module> KeyError: 'pyomo'
Remainder of file ignoredimport sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('pyomo',));ie = os.path.exists(os.path.join(p,'__init__.py'));m = not ie and sys.modules.setdefault('pyomo', types.ModuleType('pyomo'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p)import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('pyomo', 'data'));ie = os.path.exists(os.path.join(p,'__init__.py'));m = not ie and sys.modules.setdefault('pyomo.data', types.ModuleType('pyomo.data'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p);m and setattr(sys.modules['pyomo'], 'data', m)
On May 18, 2016, at 10:02 AM, Roland Vincze <roli....@gmail.com> wrote:
Whoa, it works! And the logging works, too. Thank you!One small thing: after I updated pyomo, I get the following error every time if I run python or even conda (I'm using Anaconda2):
Error processing line 2 of c:\programs\anaconda2\lib\site-packages\Pyomo-4.3.11377-py2.7-nspkg.pth:
Traceback (most recent call last):
File "c:\programs\anaconda2\lib\site.py", line 152, in addpackage
exec lineFile "<string>", line 1, in <module>KeyError: 'pyomo'
--
You received this message because you are subscribed to a topic in the Google Groups "Pyomo Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyomo-forum/DeC3NagRICc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyomo-forum...@googlegroups.com.