Optimization and Analysis of Wireless Networks Lifetime using Soft Computing for Industrial Applications