Event-triggered distributed optimization for model-free multi-agent systems