修复反向优化中的原材料长度组合选择问题。Fixed the raw-material length combination selection issue in reverse optimization.