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 <[email protected]> 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. > >
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
