help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] problem with dual


From: name name
Subject: Re: [Help-glpk] problem with dual
Date: Fri, 5 Aug 2011 17:49:10 +0200

When I use glp_get_row_dual(lp,rowId+1) I got 0 for all rows.

On Fri, Aug 5, 2011 at 5:48 PM, Andrew Makhorin <address@hidden> wrote:
> How can I get the upper bound for the rows?

With glp_get_row_ub. However, rows in your instance have no upper
bounds.

>
>
>   No.   Row name   St Activity  Lower bound Upper bound Marginal
> ------ ------------ -- --------- ----------- ----------- --------
>     1 constraint1  NL        48          48                  0.2
>     2 constraint2  NL        35          35                  0.5
>     3 constraint3  NL        24          24                  0.5
>     4 constraint4  NL        10          10                  0.5
>     5 constraint5  NL         8           8                    1
>
>
> 0.2
> 0.5
> 0.5
> 0.5
> 1
>

These values are row duals, not upper bounds.

Please consult any tutorial on lp basics.



reply via email to

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