help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Help with SPP.mod


From: D'Agostino, Larry - TX
Subject: [Help-glpk] Help with SPP.mod
Date: Tue, 12 May 2009 08:50:45 -0500

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


reply via email to

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