See FreeLunch, and specifically the NoFreeLunchTheorem.