Iterator over values in feasible set

def feasible_set(self):
        """Iterator over values in feasible set"""
        for y in itertools.product(*[range(1, k + 1) for k in self.K]):
            yield np.array(y)