General Model of Multirailroad Freight Car Management