[Top][All Lists]

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

[Help-glpk] [Fwd: Help for GLPF java program]

From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: Help for GLPF java program]
Date: Thu, 12 Apr 2018 13:12:46 +0300

-------- 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.





reply via email to

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