Minimise pruning cost of a node-weighted directed acyclic graph on applications of management. (4th July 2022)