We proposed a mean variance portfolio selection model with the restricted short sales. The model was a convex quadric programming problem and was solved by the pivoting algorithm. At last, we proved the algorithm was highly effective and in some intervals,the bigger the borrowing rate was, the mo...