During problem solving, do you use primarily algorithms or heuristics? What are the advantages of each?

During problem solving, do you use primarily algorithms or heuristics? What are the advantages of each?