[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] API glp_find_col
From: |
rainly |
Subject: |
[Help-glpk] API glp_find_col |
Date: |
Mon, 30 Mar 2009 09:46:00 -0700 (PDT) |
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] API glp_find_col,
rainly <=