a new mathematical framework for the study and optimazation of