Optimal Redundancy Allocation for Non Series-Parallel Networks