An implementation based on the paper "Design of Green Networks with Signal Quality Guarantee"