Community
René Fonseca wrote:
We added a new algorithm to minimize the number of tool changes in the latest HSMWorks 2014 R3 development release.
It is an interesting algorithm which is equivalent to the common problem of the "Travelling salesman" when taken to the extreme. See this link if you are interested:
http://en.wikipedia.org/wiki/Travelling_salesman_problem
Luckily the problem for the common use cases is more manageable since the number of jobs/different work offsets will be low and the number of different tools used will likely not be that big (less than 50). But the number of solutions is still huge (could be 2^200 for some realistic examples) so it is not possible to find the best solution in reasonable time in general. But a good solution will likely be found very quickly (maybe within a few seconds).
The new algorithm also supports multi-core/CPU systems.
I have limited the number of solutions checked to 2*10^9 and the maximum time to 30 seconds. That seems to be a good limit for now.
Our HP ZBook 17 with Intel i7 2.80GHZ test system can do around 2*10^9 checks in 12 seconds. The algorithm doesn't use more memory than fits in the CPU cache which means it runs nicely on the multiple cores available for the CPU. And the CPU was actually able to run at 3.6GHz due to Intel Turbo Boost for my tests with multiple cores engaged. If you have older hardware you might see that the tool sorting will use all available 30 seconds before stopping.
Important: The downloads on this page are development releases which contain the latest features and fixes. The development versions are, however, not thoroughly tested, and therefore not suitable for production use.
For production work, please use the latest official version.
René Fonseca wrote:
We added a new algorithm to minimize the number of tool changes in the latest HSMWorks 2014 R3 development release.
It is an interesting algorithm which is equivalent to the common problem of the "Travelling salesman" when taken to the extreme. See this link if you are interested:
http://en.wikipedia.org/wiki/Travelling_salesman_problem
Luckily the problem for the common use cases is more manageable since the number of jobs/different work offsets will be low and the number of different tools used will likely not be that big (less than 50). But the number of solutions is still huge (could be 2^200 for some realistic examples) so it is not possible to find the best solution in reasonable time in general. But a good solution will likely be found very quickly (maybe within a few seconds).
The new algorithm also supports multi-core/CPU systems.
I have limited the number of solutions checked to 2*10^9 and the maximum time to 30 seconds. That seems to be a good limit for now.
Our HP ZBook 17 with Intel i7 2.80GHZ test system can do around 2*10^9 checks in 12 seconds. The algorithm doesn't use more memory than fits in the CPU cache which means it runs nicely on the multiple cores available for the CPU. And the CPU was actually able to run at 3.6GHz due to Intel Turbo Boost for my tests with multiple cores engaged. If you have older hardware you might see that the tool sorting will use all available 30 seconds before stopping.
René Fonseca wrote:
The sorting was effectively disabled. Fixed in the latest development release.
Can't find what you're looking for? Ask the community or share your knowledge.