fixed mate function of ZDT problem