code: def getSolutionIter(self):
          
          domains, constraints, vconstraints = self._getArgs()
          if not domains:
              return iter(())
          return self._solver.getSolutionIter(domains, constraints, vconstraints)
docs: Return an iterator to the solutions of the problem
  
          Example:
  
          >>> problem = Problem()
          >>> list(problem.getSolutionIter()) == []
          True
          >>> problem.addVariables(["a"], [42])
          >>> iter = problem.getSolutionIter()
          >>> next(iter)
          {'a': 42}
          >>> next(iter)
          Traceback (most recent call last):
            File "<stdin>", line 1, in ?
          StopIteration