bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] GLPK 4.44: display statement above solve


From: glpk xypron
Subject: [Bug-glpk] GLPK 4.44: display statement above solve
Date: Sun, 06 Jun 2010 22:40:22 +0200

Hello Andrew,

in GLPK 4.44 the display statement does not work for
constraints and variables without suffix when used above
the solve statement.

invalid reference to status, primal value, or dual value of
constraint demand above solve statement
Context: ...) in K } x [ i , j ] >= b [ j ] ; display demand [ '...' ] ;

invalid reference to variable x above solve statement
Context:  sum { ( i , j ) in K } x [ i , j ] >= b [ j ] ; display x ;

According to doc/gmpl.pdf, version 4.42 accompanying GLPK 4.44
display statements above the solve statement are allowable:

"Note that if the display statement is used above the solve statement
and the item is a variable, its displayed "value" means "elemental
variable", not a numeric value, which the variable could have in some
solution obtained by the solver. To display a numeric value of a variable
the display statement should be used below the solve statement.
Analogously, if the item is a constraint or objective, its "value"
means "elemental constraint" or "elemental objective", not a numeric
value."

Best regards

Xypron
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



reply via email to

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