[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Printing constraint for report using printf and for
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Printing constraint for report using printf and for |
Date: |
Tue, 06 Mar 2012 02:50:04 +0300 |
> OK. I removed the extra %.2f in prinf statement, I still go this error.
>
> ForestValue_r2_0.mod:720: 0-ary slice not allowed
> Context: ..., spec , prd , orig , dest , ( sum { ( dmd , spec , prd ) in
> MathProg model processing error
Looks like all dmd, spec, and prd are already used as dummy indices
outside of the sum operator, so ( dmd , spec , prd ) is a 0-ary slice in
the sense that that triplet has no dummy indices.