-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello, @mandricigor
when I use the third command python validation.py --outscaf rsph-outScaf --refscaf rsph-ref-scaf.scaf to get the evaluate result, the following errors happens:
Traceback (most recent call last): File "validation.py", line 351, in <module> cpx.set_results_stream("solution.txt") File "~/anaconda3/lib/python3.7/site-packages/cplex/__init__.py", line 1474, in set_results_stream return self._env.set_results_stream(results_file, fn) File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/__init__.py", line 276, in set_results_stream initerrstr=False) File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/__init__.py", line 253, in _set_stream outputfile, self, fn=func, initerrorstr=initerrstr) File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/_ostream.py", line 66, in __init__ raise TypeError("outputfile must have a write method") TypeError: outputfile must have a write method Exception ignored in: <function Cplex.__del__ at 0x7f9996c3bc80> Traceback (most recent call last): File "~/anaconda3/lib/python3.7/site-packages/cplex/__init__.py", line 925, in __del__ File "~/anaconda3/lib/python3.7/site-packages/cplex/__init__.py", line 921, in end File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/__init__.py", line 153, in _end File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/__init__.py", line 247, in _delete_stream File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/_procedural.py", line 306, in delfuncdest File "~/anaconda3/lib/python3.7/site-packages/cplex/_internal/_procedural.py", line 249, in __call__ cplex.exceptions.errors.CplexSolverError: CPLEX Error 1053: No function pointer found for message routine.
Is there somthing wrong with installing the CPLEX?