Channel power and rate optimization of nonlinear optical fiber networks