implementing support for simulation methods using flux references in heuristic optimization