home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!fc03
- From: fc03@ns1.cc.lehigh.edu (Frederick W. Chapman)
- Newsgroups: sci.math
- Subject: Re: Lattice points in a polytope? (How to find all of them?)
- Message-ID: <1992Jul24.132125.155015@ns1.cc.lehigh.edu>
- Date: 24 Jul 92 13:21:25 GMT
- Organization: Lehigh University
- Lines: 41
-
- In article <BruKLH.DBz@watdragon.waterloo.edu>, xjzhu@jeeves.waterloo.edu
- (Xiao Jun Zhu) writes:
-
- >Hi, there:
- >
- > I am in need of an efficient program or algorithm(prefer in C) which can
- >find all the integer points in a polytope defined by sets of inequalities.
- >(Suppose that I know that the number of lattice points is not so huge.)
- >If you know such a thing exists, please send a message to me. Thanks very
- >much for your help.
- >
- >Regards, Xiaojun.
-
- When you find your program, you might want to try it on the following
- simple test case: Let S be the simplex (the simplest example of a convex
- polytope) defined by the inequalities
-
- x_i >= 0 for i = 1, 2,..., n
- x_1 + x_2 + ... + x_n <= M
-
- where n is a positive integer, and M is a non-negative integer. The number
- of integer lattice points inside S is given by the binomial coefficient
-
- ( M+n )
- ( )
- ( n )
-
- which is an n-th degree polynomial in M.
-
- ...........................................................................
-
- Pardon my boyish exuberence, but I think this a nifty fact. How does one
- go about proving this -- by induction on M?
-
- --
-
- o ------------------------------------------------------------------------- o
- | Frederick W. Chapman, User Services, Computing Center, Lehigh University |
- | Campus Phone: 8-3218 Preferred E-mail Address: fc03@Lehigh.Edu |
- | "I do comedy and magic; what you don't find funny -- that's the magic." |
- o ------------------------------------------------------------------------- o
-