Is the phrase "to decide a problem" incorect? If it's also used does it differ in use from :to solve a problem"?

Thank you in advance.