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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.