code: def set_cost(arc, cost_val, cost, graph):
      cost[arc_id(arc, graph)] = cost_val
  
imports: import numpy
  import numba
  from collections import namedtuple
  from enum import Enum, IntEnum
label_desc: Use image node_id 13 for calling a global function with example usage: set_cost(arc, cost_val, cost, graph) without return types