in this program, I implemented the method of the article " A Dynamic Programming Offloading Algorithm for Mobile Cloud Computing" you can find this article in https://ieeexplore.ieee.org/document/7726790
at the last, the method of this article is compared with Genetic algorithm.