Throughput optimization and traffic engineering in wdm networks considering multiple metrics