Because of the development of Chinese stock market in recent years, more and more investors have entered the market. The classic Markowitz model can provide investors with investment methods that have shortcomings in practical application. Therefore, the classic model is modified to add transaction costs and turnover rate limits suitable for the Chinese market. This paper aims to study the influence of the restriction on the model before and after the application of the model comparison results. The restriction can push the predicted result from time point to time period, and can be adjusted according to the actual situation.