Contradiction of with satisfiable program with negative-weight cycle By Bellman-Ford algorithm, we can report constraint graph has negative-weight cycle or not. append virtual edge to all vertex