[Top][All Lists]

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

Re: [Help-glpk] [Fwd: Help for GLPK Java program]

From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: Help for GLPK Java program]
Date: Thu, 12 Apr 2018 15:29:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Dear Titouan,

the library functions are described in detail in file doc/glpk.pdf of the GLPK source distribution. Have a look at the chapter "Problem retrieving routines". See for instance glp_get_mat_row() and glp_get_mat_col().

Best regards


On 04/12/2018 12:12 PM, Andrew Makhorin wrote:
-------- Forwarded Message --------
To: address@hidden <address@hidden>
Subject: Help for GLPF java program
Date: Thu, 12 Apr 2018 10:32:40 +0200

Good morning,

I am currently working on a linear programming project using GLPK and

I have built the matrix that I need to give to GLPK (with the three
arguments ia, ja and ar with the glp_load_matrix method) and I have set
all the coefficients for each constraint of my problem.

I would like to print all the coefficients from the ar array to have an
overview of the matrix from GLPK (before the solving) but I don’t know
which function I should use for that. I tried to use
GLPK.glp_get_row_prim for each line and each column of that same line
(with a loop) but the values are all set at 0 and it seems fair as this
function is used for LP relaxation…

Thank you for your help.



Help-glpk mailing list

reply via email to

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