[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Errors
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Errors |
Date: |
Fri, 12 Jun 2009 20:37:29 +0300 |
> When runs the mplsamp1.c and mplsamp2.c, the following errors are
> occurred
> Not Defined "glp_mpl_alloc_wksp"
> Not Defined "glp_mpl_read_model"
> Not Defined "glp_mpl_read_data'
> Not Defined "glp_mpl_generate'
> Not Defined "glp_mpl_build_prob'
> Not Defined "glp_mpl_postsolve'
> Not Defined "glp_mpl_free_wksp'
> but egypt.mod and sudoku.mod are run with the glpsol stand-alone package
Probably you did not specify the glpk object library. Try using the
following command:
gcc sample.o -lglpk -lm