Evolutionary algorithms for optimal operation of gas networks