adde current quantity to arc quantity api
used arc quantity api in greedy solver