Hello Jordan,

in glpk-java 1.0.13 there is no method
read_model(.modFile, data, output)

Method GLPK._lpx_read_model() is deprecated.

Please, have a look at examples/java/Gmpl.java
which uses method GLPK.glp_mpl_read_model()

Best regards

Xypron

-------- Original-Nachricht --------

> Hello all,
> 
> I am an intermediate Java programmer and am using glpk-java too import a
> model written in MathProg and run it inside of a Java GUI application. The
> model runs just fine if tested in GUSEK, but when I try to create an object
> of the model in java using the read_model(.modFile, data, output) method, I
> get a nullpointer exception because the object being created is null.
> 
> The model imports multiple .csv files to use as data sources, but no .dat
> files, thus the second parameter in the read_model method is null. Is there
> an issue with glpk-java creating an object from a model that imports .csv
> files? How can I work around this? Thanks so much for all of your help.
> 
> Jordan Stone

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to