8 1 Abstract 9Insect-bacterial symbioses are ubiquitous, but there is still much to uncover about 10 how these relationships establish, persist and evolve. The tsetse endosymbiont So-11 dalis glossinidius displays intriguing metabolic adaptations to its microenvironment, 12 but the process by which this relationship evolved remains to be elucidated. The re-13 cent chance discovery of the free-living species of the Sodalis genus, S. praecaptivus, 14 provides a serendipitous starting point from which to investigate the evolution of 15 this symbiosis. Here, we present a flux balance model for S. praecaptivus. Metabolic 16 modelling is used in combination with a multi-objective evolutionary algorithm to 17 explore the trajectories that S. glossinidius may have undertaken after becoming 18 internalised. The time-dependent loss of key genes is shown to influence the evolved 19 populations, providing possible targets for future in vitro genetic manipulation. This 20 method provides an unusually detailed perspective on possible evolutionary trajec-21 tories for S. glossinidius in this fundamental process of evolutionary and ecological 22 change. 23 1 2 Introduction 24 Symbioses are both fundamental and ubiquitous in nature. Understanding their evo-25 lution poses an ongoing challenge, as well as an expanse of unresolved research ques-26 tions. Bacterial symbionts of insects provide a range of benefits including stress toler-27 ance (Dunbar et al., 2007; Wilcox et al., 2003), protection from predation (Nakabachi 28 et al., 2013; Oliver et al., 2003; Wilcox et al., 2003) and the provision of metabo-29 lites (Aksoy, 1995; Hrusa et al., 2015; Manzano-Marín et al., 2015; Shigenobu et al., 30 2000; Snyder and Rio, 2015; Thomas et al., 2009). The latter forms arguably the 31 strongest link within the symbioses. Host and symbiont frequently share metabolic 32 substrates, as well as the products and components of individual biosynthetic path-33 ways (McCutcheon et al., 2009a,b; McCutcheon and Moran, 2007; McCutcheon and 34 von Dohlen, 2011; Thomas et al., 2009; Wilson et al., 2010). These relationships 35 typically enable the host to survive on a nutritionally restricted diet, such as the 36 blood meal of the tsetse (Michalkova et al., 2014; Rio et al., 2003; Snyder and Rio, 37 2015) or the plant sap that feeds the aphid (Akman Gündüz and Douglas, 2009; 38 Baumann et al., 1995; Richards et al., 2010). 39 Deciphering the evolutionary pressures that affect the organisms within a symbiosis 40 is an essential part of understanding the relationship. This includes establishing 41 how the symbioses develop over time and the way in which the metabolism of the 42 individuals is intertwined. It is, however, often hindered by biological difficulties.43