Mathematical optimization: 16 dictionary accesses