Automobile refueling problem algorithm design