I use mosek mio optimizer, and it finished optimization with feasible solution. however when I try to fetch the solution result using:
xx = [0.] * n
task.getxxslice(mosek.soltype.itg, offsetx + 0, offsetx + n, xx)
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.7.7/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-6-b7fe301b9f0d>", line 1, in <module>
task.getxxslice(mosek.soltype.itg,offsetx,offsetx+n,xx)
File "/home/ubuntu/.pyenv/versions/3.7.7/lib/python3.7/site-packages/mosek/__init__.py", line 5040, in getxxslice
res = self.__obj.getxxslice(_arg1_whichsol_,_arg2_first_,_arg3_last_,_arg4_xx_)
AttributeError: 'Task' object has no attribute '_Task__obj'