Heuristics and metaheuristics in the design of sound-absorbing porous materials