Analyze a problem