I am trying to get Cplex working with pyomo. I have followed Cplex installation instructions has explained here: Downloading and setting up CPLEX for Pyomo
However when calling Cplex via pyomo I get the following:
File "...\pyomo\opt\base\solvers.py", line 607, in solve
result = self._postsolve()
File "...\pyomo\solvers\plugins\solvers\CPLEX.py", line 906, in _postsolve
results = ILMLicensedSystemCallSolver._postsolve(self)
File "...\pyomo\opt\solver\shellcmd.py", line 251, in _postsolve
OUTPUT=open(self._log_file,"w")
OSError: [Errno 22] Invalid argument: '"C:\\Users\\...\\AppData\\Local\\Temp\\tmppc5loeps.cplex.log"'
I have verified that C:\Program Files\IBM\ILOG\CPLEX_Studio_Community201\cplex\bin\x64_win64
is in the Path variable