[Fwd: Help for GLPF java program]

Andrew Makhorin <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <1523527966.3601.0.camel@corvax>
-------- Forwarded Message --------
From: SORANGE DELIEGE Titouan
<[email protected]>
To: [email protected] <[email protected]>
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
Java. 

 

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.

 

Regards,

 

Titouan





_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.