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
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to