code: def total_cost(flow, cost):
      c = 0.0
      for i in range(flow.shape[0]):
          c += flow[i] * cost[i]
      return c
  
imports: import numpy
  import numba
  from collections import namedtuple
  from enum import Enum, IntEnum
label_desc: Use image node_id 15 for calling a global function with example usage: total_cost(flow, cost) and returns: c