S. John, A. Burdusel, R. Bill, D. StrĂ¼ber, G. Taentzer, S. Zschaler, M. Wimmer: Searching for Optimal Models: Comparing Two Encoding Approaches, 12th International Conference on Model Transformations (ICMT 2019), Eindhoven, The Netherlands, July 15-19, 2019.


Search-Based Software Engineering (SBSE) is about solving software development problems by formulating them as optimisation problems. In the last years, combining SBSE and Model-Driven Engineering (MDE), where models and model transformations are treated as key artifacts in the development of complex systems, has become increasingly popular. While search-based techniques have often successfully been applied to tackle MDE problems, a recent line of research investigates how a model-driven design can make optimisation more easily accessible to a wider audience. In previous model-driven optimisation efforts, a major design decision concerns the way in which solutions are encoded. Two main options have been explored: a model-based encoding representing candidate solutions as models, and a rule-based encoding representing them as sequences of transformation rule applications. While both encodings have been applied to different use cases, no study has yet compared them systematically. To close this gap, we evaluate both approaches on a common set of optimization problems, investigating their impact on the optimization performance. Additionally, we discuss their differences, strengths, and weaknesses laying the foundation for a knowledgeable choice of the right encoding for the right problem.