Exact approaches for lifetime maximization in connectivity constrained wireless multi-role sensor networks