Abstract
The existing Genetic Network Programming (GNP) has a problem that the optimal number of nodes in GNP must be determined by trial and error. In this paper, we propose a method for determining the optimal number of nodes in GNP automatically, using genetic algorithm based on the coexistence of heterogeneous populations. Furthermore, we apply the proposal method to the food capture problem of ants, and demonstrate its effectiveness.