[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] implementing constraints in Scala
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] implementing constraints in Scala |
Date: |
Tue, 02 Aug 2011 22:06:10 +0200 |
Hello Onor,
you can set a single (additional or existing) objective coefficient with:
glp_set_obj_coef()
Best regards
Xypron
-------- Original-Nachricht --------
> Datum: Tue, 2 Aug 2011 15:42:24 +0200
> Betreff: Re: [Help-glpk] implementing constraints in Scala
> Thank you a lot
>
> I have a little question that I didn't fine in glpk.pdf
>
>
> How can I add a variable in the objective after creating objective (I can
> have the coefficiente with GLPK.glp_get_obj_coef(lp,i) but I don't knew
> the
> size of coefficient)?
> Can I just add a variable without coping twice all coefficients?
>
> Onor
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
- Re: [Help-glpk] implementing constraints in Scala, name name, 2011/08/01
- Re: [Help-glpk] implementing constraints in Scala, Xypron, 2011/08/01
- Re: [Help-glpk] implementing constraints in Scala, name name, 2011/08/02
- Re: [Help-glpk] implementing constraints in Scala, name name, 2011/08/03
- Re: [Help-glpk] implementing constraints in Scala, glpk xypron, 2011/08/05
- Re: [Help-glpk] implementing constraints in Scala, name name, 2011/08/08
- Re: [Help-glpk] implementing constraints in Scala, Andrew Makhorin, 2011/08/08
- Re: [Help-glpk] implementing constraints in Scala, name name, 2011/08/08
- Re: [Help-glpk] implementing constraints in Scala, Andrew Makhorin, 2011/08/08