I want to solve the following portfolio optimization problem by means of the Python API of Gurobi:
enter image description here
I have implemented the problem in t