Abstract

We consider a modification of dynamic programming algorithm (DPA), which is called as graphical algorithm (GA). For the knapsack problem (KP) it is shown that the time complexity of GA is less than the time complexity of DPA. Moreover, the running time of GA is often essentially reduced. GA can also solve big scale instances and instances, where the parameters are not only positive integer. The paper outlines different methods of parallelizing GA taking into account its main features and advantages to various parallel architectures, in particular by using OpenCL and MPI framework. Experiments show that hard instances of KP for GA have correlation pj ≃ kwj for all j, where pj and wj are utility and capacity of item j = 1, 2,..., n.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.