|
From: | Michael Hennebry |
Subject: | Re: [Help-glpk] constraint numbering in glpk |
Date: | Wed, 6 Jul 2011 13:18:07 -0500 (CDT) |
User-agent: | Alpine 1.00 (DEB 882 2007-12-20) |
On Wed, 6 Jul 2011, Andrew Makhorin wrote:
Note that the very first row of N type is also used as the objective function row (i.e. its coefficients are duplicated and stored separately), so you can remove that row from the problem object with glp_del_rows to restore the numbering, which you expect.
That I hadn't known. I'd thought that the objective row was just marked by an index. -- Michael address@hidden "Pessimist: The glass is half empty. Optimist: The glass is half full. Engineer: The glass is twice as big as it needs to be."
[Prev in Thread] | Current Thread | [Next in Thread] |