|
From: | D'Agostino, Larry - TX |
Subject: | RE: [Help-glpk] Help with SPP.mod |
Date: | Tue, 12 May 2009 09:32:13 -0500 |
Ha. That did it. Apparently I need to add
the solve statement to the model in order to do the stdout commands.
Interesting. I never knew that. From: Meketon, Marc
[mailto:address@hidden Did you place it after the “solve”
statement? From:
address@hidden
[mailto:address@hidden On Behalf Of D'Agostino, Larry - TX 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 ----------------------------------------------------------------------------
|
[Prev in Thread] | Current Thread | [Next in Thread] |