I have been searching quite a while without success, getting headaches ;-).
Consider the TSP (traveling salesman problem), with a list of nodes 0, 1....n-1 BUT:
trip must start at 0 and end at 0
there is just a known distance between all nodes
trip must be a "bitonic": id est visit increasing numbered nodes, n-1, decreasing numbered nodes (remaining ones of course).
I am trying hard to get the recursive formula :
o(n,p) = f { all o(k,l) with k <= n l <=p } etc...
I want a DP (dynamic programming) approach. Besides, I have already successfully implemented (in python) the (kind of) brute force approach.
Any suggestion ? Thanks!!!