fix tsp internal variable type to double.
Merge pull request #160 from sanak/develop_issue159

fix tsp internal variable type to double.