Optimal Robustness of Supply Chains