help-glpk
[Top][All Lists]
Advanced

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

RE: [Help-glpk] Help with SPP.mod


From: Meketon, Marc
Subject: RE: [Help-glpk] Help with SPP.mod
Date: Tue, 12 May 2009 10:12:21 -0400

Did you place it after the “solve” statement? 

 


From: address@hidden [mailto:address@hidden On Behalf Of D'Agostino, Larry - TX
Sent: Tuesday, May 12, 2009 9:51 AM
To: address@hidden
Subject: [Help-glpk] Help with SPP.mod

 

Why doesn’t this statement work in the Shortest Path Problem example (spp.mod).

 

printf{(i,j) in E}"%11s\n", x[i,j];

 

I placed it after the minimize statement.  Here is the error message..

 

Reading model section from spp.mod...

spp.mod:39: only numeric, symbolic, or logical _expression_ allowed

Context:  [ i , j ] ; printf { ( i , j ) in E } '...' , x [ i , j ] ;

MathProg model processing error

 

 

I’m just trying to get the stdout results of the model.

 

 

Larry

 
----------------------------------------------------------------------------
This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail.

Thank you for your cooperation.
----------------------------------------------------------------------------

reply via email to

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