An energy- and cost-aware computation offloading method for workflow applications in mobile edge computing | Synapse