>> I am looking for VC++ implementation of travelling salesman problem. My
>> project designer wants it not to have with branch and bound algorithm or
[quoted text clipped - 6 lines]
>
> Brian
Create a method to generate different paths deterministically from start
position to end position. Compute which one is best, and keep it. Generate
more paths. Compare against each other and the previous best one, and keep
best one again. Keep doing this until you 'time-out'. This will find a good
solution, but not guarantee a best solution (and note that it is very close
to, but not quite, a genetic algorithm. It is more a typical example of old
style heuristics).
If you need a best solution, plan on it taking 100's of years in many
non-trivial cases, the problem can be very intractable due to the enormous
number of non-linear paths (e.g., path A + Path B != Path (A+B))....hehe
THAT's why genetic algoritms are the typical way to go, which makes me
wonder why any project supervisor for a COMMERCIAL company would ever
restrict HOW you got a problem solved for the hell of it.
Are you sure you're not a student? : )
[==P==]
> It surely would have a school project 5 years back when I was in school
> but for now it is a project for me. While posting first time I was
[quoted text clipped - 25 lines]
>>
>> Brian
Pohihihi - 30 Nov 2005 21:44 GMT
I wish I was a student, my life would be much much easy (other than finding
a job and trying to meet ends).
> Create a method to generate different paths deterministically from start
> position to end position. Compute which one is best, and keep it. Generate
[quoted text clipped - 44 lines]
>>>
>>> Brian