GLPK使用时的相关到问题

来源:互联网 发布:代码什么颜色 知乎 编辑:程序博客网 时间:2024/05/16 18:49

1、glp_alloc无法找到

  GLPK中 misc.h 将

  #define xalloc glp_alloc

  修改为

  #define glp_calloc


2、eclipse编译,链接出错

undefined reference, glp_create_prob,

undefined reference, glp_set_col_name,

undefined reference, glp_set_col_kind,

undefined reference, glp_free

undefined reference, glp_xxx_xxx


多写几个,给百度多点机会 (::::::::::::::::::我很扇娘

,需要加入链接库glpk


1 0
原创粉丝点击