Comment Comment by rebhan The problem is practically solved, use Genetic Algorithms and you's find a solution which is sufficient for any practical uses. parent rebhan 13 years ago