I suggest you get into the habit of writing down your dreams when you wake up. Start with what you remember don't worry about order. This often helps you to recall the solution you dreamt about. Even if it seems unsuccessful at first keep recording every morning. The recall may even occur later in the day.
If you go to sleep with the intent of solving a problem with a dream keep a notebook and pen handy and record anything you remember anytime you wake up. Also before fully awakening yourself ask yourself what did I just dream about. Then record it. Expect the answer to show up sometime during the day if you didn't get it during the night in your dreams. Only by getting into the habit of recording your dreams will you have better success at recalling the solutions that showed up in your dreams.
Alex