Re: [Fwd: Ceil in minimize function -- invalid type error (mod file in attachment)]
Andrew Makhorin <[email protected]>
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <1484835831.4243.3.camel@corvax> |
> s.t. foo{a in Art, s in Supp} : Z[a,s] >=
> ceil(OrdQty[a,s]/ArtPackQty[a]);
>
Incorrect. This constraint should be the following:
s.t. foo{a in Art, s in Supp} : Z[a,s] >= OrdQty[a,s]/ArtPackQty[a];
NB: there should be no ceil.