graph, demand, result gurobi conversion works