Networktools: A Header-only C++ Library for Network Optimization Problems
Networktools is an open source, header-only C++20 library for graph-based modeling and optimization, with dedicated algorithms and data structures for modeling and solving telecommunications network optimization problems. More precisely, the library provides general purpose graph data structures and algorithms for tasks such as efficient graph traversal, flow computation, matching and connectivity analysis, together with a generic API to linear and mixed integer linear programming solvers. Additionally, a dedicated traffic engineering module provides further specialized data structures and algorithms that can be used to simulate routing, assess how router or IP/optical link failures affect traffic loads, and optimize routing configurations such as link weights and/or segment routing paths.