help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] a simple question about using glpk


From: Wei-Lun Hung
Subject: [Help-glpk] a simple question about using glpk
Date: Thu, 09 Mar 2006 10:50:39 -0500
User-agent: Mozilla Thunderbird 1.0.5 (X11/20050711)

Hi, there
I am using glpk to solve scheduling problem. I encountered a simple problem but couldn't figure out why is that. The error message I got is 'lpx_load_matrix: ja[55] = 7; column index out of range" Does this mean I cannot have fewer structural variables than variables in the raw constrains.
For example, the objective function of my problem is like this:

Min A1I1+ A2I2 + ... A6I6 (there are only six columns)
st.
C11 + C12 + ... + C19 = C1  (I have 9 variables here)
...

How could get around of this problem?
Thanks in advance.

Wei-Lun




reply via email to

[Prev in Thread] Current Thread [Next in Thread]