针对电力工程电缆优化分割下料问题,建立了以电缆原材料总长最小为优化目标,采用Matlab与C#.net混合编程实现该优化的数学模型。在此基础上研制开发了基于B/S模式的电缆优化分割下料系统,包括自动生成可行下料方案、选定最优分割方案和计算原材料利用率等功能。最后通过实例分析与测试,表明该系统能够较好地实现电力电缆优化分割下料,也验证了Matlab和C#.net混合编程的特点和优势。
In order to get the power cable optimal cutting in the electric power engineering, a mathematical model was established for the optimization objectives of cable segmentation to the total length of raw materials by using Matlab and C#.net hybrid programming method. The cable optimal segmentation system was developed based on B/S mode, including automatic generation of all feasible cutting programs, selection of optimal partitioning scheme, and calculation of raw material utilization. Case study and testing results indicate that the system is able to achieve good optimization of power cable cutting and the features and advantages of Matlab and C#.net hybrid programming are well testified.