[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Problem importing gnulpk-java files in java project
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] Problem importing gnulpk-java files in java project |
Date: |
Fri, 16 Apr 2010 21:33:18 +0200 |
If you are asking for help on this list (address@hidden),
please, describe your problem and how it can be reproduced.
An example will be helpful.
GLPK-Java comes with examples in directory
examples/java.
For compiling and running Java programs based on GLPK-Java
glpk-java.jar must be in the classpath.
E.g. with Windows syntax
"%JAVA_HOME%\bin\javac" -classpath "%mydir%/glpk-java.jar" Lp.java
"%JAVA_HOME%\bin\java" -classpath "%mydir%/glpk-java.jar";. Lp
Please, replace %mydir% by the directory containing glpk-java.jar.
Best regards
Xypron
-------- Original-Nachricht --------
> Datum: Fri, 16 Apr 2010 21:58:22 +0400
> Von: cheddz
> An: address@hidden
> Betreff: Re: [Help-glpk] Problem importing gnulpk-java files in java project
>
> Hello,
>
> I am having a problem very similar to the one you had in this post, and
> was
> wondering if you had ever found a solution to this problem. Please feel
> free
> to email me at address@hidden if you found an answer. Thanks so much
> for your time.
>
>
> Sana Jawad wrote:
> >
> > Hi,
> >
> > Than alot Carlos this solved the file include error.
> >
> > Now I am getting error while reading the model. The return value of
> > readModel function comes out to be null, which throws NULL pointer
> > exception
> > when solver2.simplex() command is run.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01