> what I am doing wrong:
> 
> printf{i in navios, j in bercos: x[i,j] != 0}: "%2s  %2s %g\n", j,i,t[i];
> 
> When I run I get: operand preceding != has invalid type

If x is a variable, not a parameter, you may not use that printf above
the solve statement (if it is omitted, it is assumed at the end of the
model section). For more details please see the language reference
included in the glpk distribution.


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to