Cooperative fixed-time/finite-time distributed robust optimization of multi-agent systems