Sunday, March 17, 2013

what would Polya do?

It turns out there is a whole genre of problem solving frameworks.  Many represent "business paperback" level thinking and clearly wouldn't be much help doing anything difficult.



How to Solve It (1945) is a famous little volume by mathematician George Pólya describing general methods of problem solving.  I particularly like his heuristic approach:

HeuristicInformal DescriptionFormal analogue
AnalogyCan you find a problem analogous to your problem and solve that?Map
GeneralizationCan you find a problem more general than your problem?Generalization
InductionCan you solve your problem by deriving a generalization from some examples?Induction
Variation of the ProblemCan you vary or change your problem to create a new problem (or set of problems) whose solution(s) will help you solve your original problem?Search
Auxiliary ProblemCan you find a subproblem or side problem whose solution will help you solve your problem?Subgoal
Here is a problem related to yours and solved beforeCan you find a problem related to yours that has already been solved and use that to solve your problem?Pattern recognition
Pattern matching
Reduction
SpecializationCan you find a problem more specialized?Specialization
Decomposing and RecombiningCan you decompose the problem and "recombine its elements in some new manner"?Divide and conquer
Working backwardCan you start with the goal and work backwards to something you already know?Backward chaining
Draw a FigureCan you draw a picture of the problem?Diagrammatic Reasoning [28]
Auxiliary ElementsCan you add some new element to your problem to get closer to a solution?Extension[disambiguation needed]


I like this book so much I have a page of it stuck to my office wall.  Every once in a while I look at it when stuck, and sometimes it inspires a new perspective.

Wicked Problems are NP Complete

Tim O'Reilly famously encouraged software startups to focus on solving big, hard problems.  Which are sometimes referred to as "Wicked Problems", which I have written more about here and here on my "political" blog.

There is an interesting analogy between the real world wicked problems we face, and complexity theory in computer science.  In CS, some of the hardest problems are called "NP Complete", and we usually don't even attempt to solve them perfectly.  Instead, we use techniques like heuristics, and are often pleased to find a reasonable solution in a reasonable time, instead of insisting on the optimal solution, which could take longer than the expected lifespan of the universe to find.


Rihanna knows NP-complete problems can get complicated fast


I think this metaphor yields some interesting thoughts.
  • In both cases we need to quickly recognize the inherent difficulty of the problem and give up on finding a perfect solution, otherwise we risk wasting precious resources.  On the other hand, even just "ok" solutions can be far more valuable than none at all.
  • Solving by heuristic is quite different than solving for an exact solution.  Tackling NP-complete problems requires a very different perspective, one that gets more comfortable after spending more time on such problems.  In CS some people specialize in NP-complete problems and heuristics, and they have whole vocabularies and toolkits that are unfamiliar to those used to conventional problems.  So it is reasonable to think that dealing with wicked problems, though difficult, is an acquired skill that can be refined.
  • Could the many wicked problems, like NP-complete ones, be different
     faces of the same monster?  A terrifying thought, full of hope.
  • In CS there are proofs that link many NP-complete problems together, essentially stating that these many different hard problems are in fact different forms of each other, and these problems can be transformed from one to another.  Finding an exact solution to one, would solve the whole bunch.  The analogous statements for Wicked Problems might be that WPs share common elements at their root, they should be considered as a set, and solving one may help solve others.  This one is by far my favourite, and made the whole analogy worthwhile IMO.

Cloud computing hype cycles 2010-2012 according to Gartner

Usually we only see one hype cycle at a time.  I find it interesting to look at a few years to see trends.

Note this is specifically the Cloud Computing cycle, I've also got another post with the overall hype cycles for the last few years.

A few takeaways:

  • Its funny how dated 2011 and 2010 look now.  "Multitenancy" as an early stage technology in 2011?
  • Real-time infrastructure hasn't moved (?)
  • Cloud security and risk standards are finally in the picture
  • Buzzwords galore


2012:



2011:

2010: