The metaheuristic approaches inspired by the nature are becoming powerful optimizing algorithms for solving NP-complete problems. This paper presents five nature-inspired metaheuristic optimization algorithms to find near-optimal Golomb ruler (OGR) sequences in a reasonable time. In order to improve the search space and further improve the convergence speed and optimization precision of the metaheuristic algorithms, the improved algorithms based on mutation strategy and Lévy-flight search distribution are proposed. These two strategies help the metaheuristic algorithms to jump out of the local optimum, improve the global search ability so as to maintain the good population diversity. The OGRs found their potential application in channel-allocation method to suppress the four-wave mixing crosstalk in optical wavelength division multiplexing systems. The results conclude that the proposed algorithms are superior to the existing conventional computing algorithms i.e. extended quadratic congruence and search algorithm and nature-inspired optimization algorithms i.e. genetic algorithms, biogeography based optimization and simple big bangbig crunch to find near-OGRs in terms of ruler length, total optical channel bandwidth and computation time. The idea of computational complexity for the proposed algorithms is represented through the Big O notation. In order to validate the proposed algorithms, the non-parametric statistical Wilcoxon analysis is being considered.