PurposeThe weighted evaluation function method with normalized objective functions is used to transform the proposed multi-objective model into a single objective one, which reflects the investors' preference for returns, risks and social responsibility by adjusting the weights. Finally, an example is given to illustrate the solution steps of the model and the effectiveness of the algorithm.Design/methodology/approachBased on the possibility theory, assuming that the future returns of each asset are trapezoidal fuzzy numbers, a mean-variance-Yager entropy-social responsibility model is constructed including piecewise linear transaction costs and risk-free assets. The model proposed in this paper includes six constraints, the investment proportion sum, the non-negativity proportion, the ceiling and floor, the pre-assignment, the cardinality and the round lot constraints. In addition, considering the special round lot constraint, the proposed model is transformed into an integer programming problem.FindingsThe effects of different constraints and transaction costs on the effective frontier of the portfolio are analyzed, which not only assists investors to make decisions close to their expectations by setting appropriate parameters but also provides constructive suggestions through the overall performance of each asset.Originality/valueThere are two improvements in the improved particle swarm optimization algorithm: one is that the complex constraints are specifically satisfied by using a renewable 0–1 random constraint matrix and random scaling factors instead of fixed ones; the other is eliminating the particles with poor fitness and randomly adding some new particles that satisfy all the constraints to achieve the goal of global search as much as possible.