help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] glpk4.38 or later for Java


From: Manish Jain
Subject: [Help-glpk] glpk4.38 or later for Java
Date: Mon, 24 May 2010 19:05:46 -0700

Hello all,

Is there a jar file available for recent versions (glpk 4.38 or later) for java?

The only one I could find on the net was glpk 4.8 (http://bjoern.dapnet.de/glpk/).
However, glpk 4.8 has different interpretation in at least lpx_set_col_kind and lpx_load_matrix.

lpx_set_col_kind keeps giving the error  "lpx_set_col_kind: not a MIP problem" whenever I set a
variable lp.setColKind(colIndex, LPX_CV).

Since the above call isn't mandatory, the code works fine even after removing it.

On the other hand, lpx_load_matrix or lp.loadMatrix() for java keeps giving the error that "zero element is not allowed".

( My code works fine for C++, glpk 4.38 and I need to convert it to java for an application).

Thanks,

Manish Jain
University of Southern California

reply via email to

[Prev in Thread] Current Thread [Next in Thread]