[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] (no subject)
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] (no subject) |
Date: |
Mon, 09 Sep 2013 09:41:17 +0400 |
> 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.