Гамильтоновы циклы

We search for Hamiltonian cycles (paths) in a directed graph. We use an algebraic method based on exponentiation of a modified adjacency matrix. A Maple program from M.N. Kirsanov's book "Graphs in Maple" is briefly described. The Hamiltonian cycles (paths) in a directed graph are searched for. An algebraic method based on exponentiation of a modified adjacency matrix is ​​used. A Maple program from M.N. Kirsanov's book "Graphs in Maple" is briefly described.