<abstract><p>In this article, the distributed optimization based on multi-agent systems was studied, where the global optimization objective of the optimization problem is a convex combination of local objective functions. In order to avoid continuous communication among neighboring agents, an event-triggering algorithm was proposed. Time delay was also considered in the designed algorithm. The triggering time of each agent was determined by the state measurement error, the state of its neighbors at the latest triggering instant and the exponential decay threshold. Some sufficient conditions for optimal consistency were obtained. In addition, Zeno-behavior in triggering time sequence was eliminated. Finally, a numerical simulation was given to prove the effectiveness of the proposed algorithm.</p></abstract>