[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: Ceil in minimize function -- invalid type error (m
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] [Fwd: Ceil in minimize function -- invalid type error (mod file in attachment)] |
Date: |
Thu, 19 Jan 2017 17:23:51 +0300 |
> 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.