This paper addresses a problem of machining route selection and determination of input quantity in a multi-stage flexible flow system with non-identical parallel machines. The problem considers a subcontracting, machining restraint, and machine yield. We