Abstract
A mobile agent is autonomous software which can migrate among different nodes. A mobile agent can continue with the execution of their task before and after migration among different nodes with transferring of program codes. In a mobile agent system, cloned mobile agents have same program codes. When such mobile agents migrate from different nodes to same one node, a duplicate transfer of same program codes occur, and the data traffic increases. This paper formulates this problem as the generalized assignment problem (GAP) and proposes a mechanism of agent migration to prevent duplicate transfer of same program codes.