Next: Running LattE
Up: LattE Input Files
Previous: Nonnegativity Constraints
Contents
The functions maximize and minimize solve the integer linear programs
and
Besides a description of the polyhedron
, these functions need a
linear objective function given by a certain cost vector
. If the
polyhedron is given in the file ``fileName''
4 4
1 -1 0 0
1 0 -1 0
1 0 0 -1
1 -1 -1 -1
linearity 1 4
nonnegative 3 1 2 3
the cost vector must be given in the file ``fileName.cost'', as for
example in the following three-dimensional problem:
1 3
2 4 7
The first two entries state the size of a
matrix (encoding
the cost vector), followed by the
matrix itself. Assuming
that we call maximize, this whole data encodes the integer program
De Loera account latte
2005-08-18