OptimJ does not link to glpk. To use glpk you download an examples set which includes a directory 'OptimJ samples - GLPK Binaries' which contains a compiled glpk 4.36 dll and a java jar file. The source to produce the java jar file is included in 'OptimJ 1.3.10 samples - GLPK\OptimJ samples - GLPK Binaries\src\com\ateji\optimj\glpkliba\LibraryLoader.java'. All the code and information to upgrade to glpk 4.45 is openly available.
A better implementation would be if OptimJ provided an 'abstract java interface' which worked with any complient implementation, which could include glpk-java (using swig) or iajaar (not using swig) or their example (not using swig). > ----- Original Message ----- > From: Xypron <[email protected]> > To: chtimax <[email protected]> > Cc: [email protected] > Subject: Re: [Fwd: Re: [Help-glpk] ANNOUNCEMENT: OptimJ solver link for > GLPK/Java] > Date: Wed, 19 Jan 2011 19:56:05 +0100 > > > Hello Max, > > what is the license status of the generated code? Can it be > published under GPL or does it contain nonfree code or link to some > nonfree library? > > Dynamically binding non-free code to GPL code is not allowable > under the GPL license. It would only be possible if the copyright > holder chose to change the GLPK license. E.g. by adding the > classpath extension > (http://www.gnu.org/software/classpath/license.html) or by changing > the license to LGPL. > > Best regards > > Xypron > > > Andrew Makhorin wrote: > > -------- Forwarded Message -------- > > From: chtimax<[email protected]> > > To:[email protected] > > Subject: Re: [Help-glpk] ANNOUNCEMENT: OptimJ solver link for GLPK/Java > > Date: Wed, 19 Jan 2011 05:48:23 -0800 (PST) > > > > Hello Robie and All, > > > > Accept my apologies for the confusion in my previous message as I am not > > familiar with the terminology of free software. OptimJ is free in the > > monetary sense (no money changes hands) but not free in the sense of the > > FSF. > > > > Allow me to precise that OptimJ is a source-to-source generator (it takes > > high-level modeling code and generates Java source code) that does not link > > to any optimization library including glpk. > > > > Max > > > > > > > _______________________________________________ > Help-glpk mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-glpk > -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
