Energy-Optimal Dynamic Computation Offloading for Industrial IoT in Fog Computing | Synapse