Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XPRESS Solver Error : AttributeError: 'NoneType' object has no attribute 'problem' #55

Closed
kdheepak opened this issue Oct 19, 2016 · 0 comments · Fixed by #56
Closed
Milestone

Comments

@kdheepak
Copy link
Contributor

I've pasted the traceback below :

Traceback (most recent call last):
  File "model.py", line 15, in <module>
    solver.solve(model)
  File "/Users/$USER/anaconda/lib/python2.7/site-packages/pyomo/opt/base/solvers.py", line 587, in solve
    result = self._postsolve()
  File "/Users/$USER/anaconda/lib/python2.7/site-packages/pyomo/opt/solver/shellcmd.py", line 267, in _postsolve
    results = self.process_output(self._rc)
  File "/Users/$USER/anaconda/lib/python2.7/site-packages/pyomo/opt/solver/shellcmd.py", line 329, in process_output
    self.process_soln_file(results)
  File "/Users/$USER/anaconda/lib/python2.7/site-packages/pyomo/solvers/plugins/solvers/XPRESS.py", line 336, in process_soln_file
    results.problem.number_of_objectives=1
AttributeError: 'NoneType' object has no attribute 'problem'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants