Optimization with the evolution strategy by example of electrical-discharge drilling