Optimizing Alloy for Multi-Objective Software Product Line Configuration

TitleOptimizing Alloy for Multi-Objective Software Product Line Configuration
Publication TypeConference Paper
Year of Publication2014
AuthorsZulkoski, E., C. Kleynhans, M-H. Yee, D. Rayside, and K. Czarnecki
EditorAmeur, Y A., and K-D. Schewe
Conference NameABZ
Date Published06/2014
Conference LocationToulouse, France

Software product line (SPL) engineering involves the modeling, analysis, and con guration of variability-rich systems. We improve the performance of the multi-objective optimization of SPLs in Alloy by several orders of magnitude with two techniques.

First, we rewrite the model to remove binary relations that map to integers, which enables removing most of the integer atoms from the universe. SPL models often require using large bitwidths, hence the number of integer atoms in the universe can be orders of magnitude more than the other atoms. In our approach, the tuples for these integer-valued relations are computed outside the SAT solver before returning the solution to the user. Second, we add a checkpointing facility to Kodkod, which allows the multi-objective optimization algorithm to reuse previously computed internal SAT solver state, after backtracking.

Together these result in orders of magnitude improvement in using Alloy as a multi-objective optimization tool for software product lines.



Refereed DesignationRefereed
abz14.pdf255.63 KB