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