help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Constraints Problem


From: Ali Baharev
Subject: Re: [Help-glpk] Constraints Problem
Date: Wed, 3 Dec 2008 22:40:42 +0100

> lpx_load_matrix(lp,1,ia,ja,ar);

You did not load all the matrix, only one non-zero element but you
have 4 of them. Try:

lpx_load_matrix(lp, 4,ia,ja,ar);

It seems to me you are using an old version of GLPK, try to update to
a more recent one.

Good luck,

Ali




reply via email to

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