My code is very simple as shown below. I use it to test glp_find_col but it
doesn't work.
const char* p="z[0][0]";
Col_Num=glp_add_cols(lp,1);
glp_set_col_name(lp, Col_Num, p);
Col_Num=glp_find_col(lp, p);
I debug it step by step. When it goes to the last line, I get debug error.
glp_find_col: column index does not exist
Error detected in file ...\src\glpapi03.c at line 123
Any suggestions? Thank you in advance.
--
View this message in context:
http://www.nabble.com/API-glp_find_col-tp22787490p22787490.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk