The article discusses the issues of manufacturing optical cables that have high requirements for reliability and trouble-free operation, which ensure the efficiency of signal transmission and maintenance of the entire optical system as a whole. However, factors like fiber length and storage time complicate this process, making heuristic optimization algorithms inadequate. To tackle these challenges. To this end, this article introduces an improved genetic algorithm based on rule selection to tackle the nondeterministic polynomial hard problem stemming from inventory fibre resources and fibre selection principles in optical cable pro-duction. The algorithm aims to maximize inventory score and. The advancement of science and technology necessitates a comprehensive examination of materials used in optical cable (OC) production, particularly in contexts such as space technology, aircraft, ships, unmanned aerial vehicles, and nuclear power systems. These environments demand high-speed. Fiber optic cables are high-tech communications cables that carry information like bursts of light along extremely thin glass or plastic strands, providing high-speed, high-bandwidth connectivity with little loss of signal.