[Top][All Lists]

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

[Help-glpk] Re: Help-glpk Digest, Vol 90, Issue 1

From: Greg Gruber
Subject: [Help-glpk] Re: Help-glpk Digest, Vol 90, Issue 1
Date: Sat, 1 May 2010 23:58:41 -0400

I have a column-generation problem I'm trying to switch over from AMPL/CPLEX to GLPK, and it would be useful to be able to display the dual values in MathProg.  I know that suffixes are not supported in the official release, but I saw the following:

An unofficial patched version of a last year GLPK release can be
checked out with subversion

svn co

It supports the following suffixes in the post solution phase:

lb - lower bound
ub - upper bound
val - value
dual - dual value
basic - 1 if variable is basic

lb - lower bound
ub - upper bound
dual - dual value
value - value

I downloaded this version using "vn co"  then compiled it (configure, make, make install).  The compile appears successful, and when I check the date/timestamp on my glpsol, it shows the current date/time.  When I try to use the ".dual" functionality as follows:

"display summation_constraint.dual;"

I get an error message:

"Reading model section from test_cur1_2.mod...
test_cur1_2.mod:67: invalid reference to constraint summation_constraint
Context: ...f MaxCHarn >> '...' ; solve ; display summation_constraint .
GLPK: model processing error"

Did I download the correct version?


reply via email to

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