In experimental populations of the cowpea bean weevil Callosobruchus maculatus (Coleoptera: Bruchidae) and a parasitic wasp Heterospilus prosopidis (Hymenoptera: Braconidae), large changes in the abundances and the fluctuations of both species occurred after approximately 20 generations. In this paper, we examine the hypothesis that this observed change in the dynamics may have been caused by an evolutionary shift in the mode of competition among the bean weevils. A Nicholson-Bailey type model is developed using parameters measured from the experiments. The host larvae can differ in the type of competitive behaviour that they exhibit, which can be either of a contest type or of a scramble type. If a bean contains one or more larvae of the contest type, only one of these will survive and any scramble-type larvae in the bean will be killed. If no contest-type larvae are present within a bean, multiple individuals of the scramble type can emerge from a single bea n. The model assumes many genotypes, differing in the fraction of offspring of the two types. If a high per capita resource availability is maintained, then the scramble type is selected for, but if resources are limited, then the contest type is selected for. The host population at the start of the experiment, taken from a stock culture, was composed mostly of the scramble type. The model is successful in explaining the initial quick increase in the host's abundance, followed by the evolutionary increase in the fraction of the contest type among hosts, resulting in the more stable population dynamics of the host-parasitoid system, as observed in the experiments. However, it predicts a parasitoid abundance much higher than that observed. We discuss alternative hypotheses to explain the observed evolutionary shift in the population dynamics. We also examine the effect of the difference in size of the beans in the stock culture and those used in the experiments.