First functioning version of the multiknapsack approximation