[Top][All Lists]

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

Re: [Help-glpk] glpk question

From: cgi2
Subject: Re: [Help-glpk] glpk question
Date: Fri, 23 Jul 2004 11:40:05 -0700

On Fri, 23 Jul 2004 06:41:58 -0700 (PDT)
Xiulin Zou <address@hidden> wrote:
>I am trying to use the glpk package.
>I ran the sample.c and it worked fine. But if I change
>any of the element in array a to be 0.0, it gave me an
>error as follows
>lpx_load_mat: i = 1, j = 1; zero coefficient not
>I could not understand that why it is not allowed to 
>set any coefficient of the constraint matrix to be
>0.0. Could you please offer some explanation?
>I also tried to search for the string "zero
>coefficient not allowed" from the c code. I could not
>find the string. 
>Your quick response is greatly appreciated.
>Thanks in advance.

If you want the row=1, column=1 element to be 0, just omit the line that 
populates the matrix value for this element. 
Don't E-Mail, ZipMail!

reply via email to

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