On Mon, Sep 5, 2011 at 1:18 PM, Nigel Galloway <[email protected]
> wrote:

>  Do you obtain this value with GLPK.glp_get_mip_col_val ?
>


no with .glp_set_col_kind
Even if the type of variable is binary Lp give non integer value

 --
>  Nigel Galloway
>  [email protected]
>
>   On Mon, 05 Sep 2011 09:52 +0200, "name name" <[email protected]> wrote:
>
> Hello,
>
> I have a very strange problem
>
> I solve un Lp problem but the and the value of my  variables are not ineger
> I got x(0,1)=0.2... even thaught when I print the type of my variables I got
> 3 coresponding to type binary( I got type to binary for all variables with
> GLPK.glp_set_col_kind(lp, i, GLPKConstants.GLP_BV)).
>
> Can you tell my where the problem could be?
>
> Thank you
>
> Onor
>
> _______________________________________________
> Help-glpk mailing list
> [email protected]https://lists.gnu.org/mailman/listinfo/help-glpk
>
>
>
> -- http://www.fastmail.fm - Email service worth paying for. Try it for free
>
>
> _______________________________________________
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
>
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to