Hello Paul, you mail had to be forwarded to the help-glpk list manually because you did not subscribe to it as described on https://lists.gnu.org/mailman/listinfo/help-glpk
GlpkHookIFC is part of a Java binding for GLPK developped by Björn Frank. As described on http://en.wikibooks.org/w/index.php?title=GLPK/Java it has not been maintained in the last years. If you want to use the current version of GLPK I suggest you use GLPK for Java available at http://glpk-java.sourceforge.net Binaries for Windows are available at http://winglpk.sourceforge.net GLPK for Java is also available as Debian or Ubuntu package libglpk-java. > Is there a readFrom_File(“myLPFile”) function or similar call > available > in glpk.jar ? In Björn's implementation there is a method GLPK.readCpxlp as documented on his webpage. In GLPK for Java you will find method GLPK.glp_read_lp which is documented in file glpk-4.47/doc/glpk.pdf of the source distribution of GLPK available at ftp://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz If you want to see how hook functions can be used in GLPK for Java, have a look at the examples in examples/java and at the documentation in doc/glpk-java.pdf. Best regards Xypron > -------- Forwarded Message -------- > Subject: input file to glpk sample code in java > Date: Mon, 28 Nov 2011 15:38:30 +0000 > > Sir/lady, > > > > I have an input file, myLPFile, in CPLEX LP format, I import > org.gnu.glpk.* to my java code (as GnuLPSolver.java under netbeans) > > > > Could you show me how to pass my CPLEX format input file to > GlpkHookIFC ? > > In particular, what I do after the statement: > > > > GnuLPK_solver lpsov= new GnuLP_Solver(); > > > > Is there a readFrom_File(“myLPFile”) function or similar call > available > in glpk.jar ? > > > > Thanks, > > > > Paul > > 11/28/11 -- Follow me at http://twitter.com/#!/xypron Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
