[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: translate addTerm Cplex Ilog]
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] [Fwd: translate addTerm Cplex Ilog] |
Date: |
Fri, 13 Jan 2012 19:46:42 +0100 |
Hello Simon,
your mail had to be forwarded manually because you are no subscribed
to the list. Cf.
https://lists.gnu.org/mailman/listinfo/help-glpk
I have created package "Linear Optimization Wrapper for Java" available
at http://www.xypron.de/projects/linopt/ to provide a more intuitive
interface to GLPK.
See
http://www.xypron.de/projects/linopt/xref/de/xypron/linopt/examples/CutSimple.html
for an example.
Best regards
Xypron
> -------- Forwarded Message --------
> Subject: translate addTerm Cplex Ilog
> Date: Thu, 12 Jan 2012 12:41:52 +0100
>
> Hi all,
>
> I have a linear program with ilog/cplex of my friend and i'm trying to
> translate in gplk-java. In the objective function i have some boolean
> vars called x.
> I have already setted the coefficents of the x vars, but in the
> objective function i have two summation with different indexes of this
> var, just like:
>
> sum{p,w} Cx(p,w) + sum{u,v} Dx(u,v)
>
> in the cplex program it's making a sum and create two IloNumExpr with
> C and D coefficents, is there anyway to translate this in glpk-java?
>
> I'll wait a respond,
> Kind Regards,
> Simon Vocella
--
Follow me at http://twitter.com/#!/xypron
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone