This paper investigates the application of combinatorial optimization techniques, specifically modified branch and bound and swarm intelligence methods, to enhance cryptanalysis of classical ciphers, focusing on the transposition cipher problem. The authors propose using combinatorial optimization approaches to efficiently automate the cryptanalysis process, demonstrating successful implementation via various algorithms. Key findings highlight the effectiveness of these optimization methods in developing robust cryptanalytic tools for traditional cipher systems.