20130304: improving performance of all_solution
Merge pull request #1 from kashiwagi-lab/bug001

20130304: improving performance of all_solution