J4 ›› 2009, Vol. 47 ›› Issue (05): 961-968.

• 计算机科学 • 上一篇    下一篇

基于局部搜索的遗传算法求解自动组卷问题

 关凇元, 刘大有, 金弟, 王新华, 苏奎   

  1. 吉林大学 计算机科学与技术学院, 长春 130012; 吉林大学 符号计算与知识工程教育部重点实验室, 长春 130012
  • 收稿日期:2008-10-24 出版日期:2009-09-26 发布日期:2009-11-03
  • 通讯作者: 刘大有 E-mail:liudy@jlu.edu.cn.

Genetic Algorithm with Local Search forAutomatic Test Paper Generation

 GUAN Song-Yuan, LIU Da-Wei, JIN Di, WANG Xin-Hua, SU Kui   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China|Key Laboratory ofSymbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University, Changchun 130012, China
  • Received:2008-10-24 Online:2009-09-26 Published:2009-11-03
  • Contact: LIU Da-Wei E-mail:liudy@jlu.edu.cn.

摘要:

针对目前大多数组卷系统所考虑的约束条件不完善、 组卷结果不理想问题. 提出一种基于局部搜索的遗传算法(GALS), 解决了传统组卷约束不完善等缺点, 并得到了较好的组卷结果. 该算法采用基于按题型分段的编码方式, 3个遗传算子分别采用如下策略: 按题型分段交叉策略, 保证全局搜索能力及交叉后各题型被选题数不变; 基于禁忌表局部搜索的变异机制, 对题库进行随机关联搜索, 提高了算法搜索能力; 采用组合优化进化算法的μ+λ选择策略, 有利于算法局部搜索. 实验结果表明, 相同迭代次数下, 新算法找到的最优解明显优于传统的组卷算法.

关键词: 计算机辅助教学, 遗传算法, 组合优化, 局部搜索, 自动组卷

Abstract:

In most of the automatic test paper generation system, the constraint conditions are not perfect, and the results are not ideal. In view of this situation, we put up a new method called genetic algorithm with local search; it can solve the problem of constraint conditions which are not perfect, and can achieve the better results, after the teacher’s certification, it proves to be applied to the actual teaching. The algorithm uses the subsection encoding based on the type of questions. Three genetic operators adopt the following strategy: the subsection crossover strategy according to the type of the questions, which can ensure the capability of global search and the total number of selected questions in each type are not changed after this operation, the mutation strategy based on the tabu table local search, which can ensure the random and correlative search on the item pool, and improve the search ability of this algorithm, and the μ+λ strategy which is always used in combinatorial optimization evolutionary algorithm to enhance local search of this algorithm. The results show that in the same number of iterations, the optimal solution which can be found in the new algorithm is obviously better than that of tradition algorithm.

Key words: computer assistant instruction, genetic algorithm, combinatorial optimization, local search, automatic test paper generation

中图分类号: 

  • TP311