摘要
介绍了V isual C++与Matlab的混合编程方法及其在车间调度问题上的成功应用。该方法首先利用Matlab强大的数值计算能力和众多的库函数编写算法;然后封装和链接程序,使Matlab编写的算法能够完全脱离Matlab的编程环境;最后利用V isual C++良好的人机交互功能,用V isual C++编写算法的输入输出接口界面。实验和仿真表明,该方法有效解决了多约束条件下,高时间、空间复杂度车间调度系统(NP—Hard组合问题)适应度函数求解的难题,并得到调度方案的动态甘特图,从而提高了程序的适用范围和应用价值。
introduce a method of combined programming Visual C ++ and Matlab which successfully used in Job Schedule Problems. Firstly use software Matlab powerful calculating ability and many functions to compile programs, then encapsulate and link those programs to run programs without Matlab environment, at last use Visual C ++ to compile in - out interface. Tests and simulations show this method can solve multi - restrictions Job Schedule fitness functions problems, also can show schedule dynamical Gantt pictures thus improving the programs using scope and application values.
出处
《组合机床与自动化加工技术》
2006年第2期31-33,共3页
Modular Machine Tool & Automatic Manufacturing Technique