"выдумать" usually refers to something in the past (to cook a fake story)
"придумать" - in the future (to find a way to do something).