Many optimization algorithms exist, each with its own merits and pitfalls. Understanding optimization helps avoid falling prey to data mining in disguise