1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
#ifndef INTSINPOLYTOPE_H_INCLUDED
#define INTSINPOLYTOPE_H_INCLUDED
#include "vektor.h"
#include "matrix.h"
bool solveIntegerProgramIneq(IntegerMatrix const &M, IntegerVector const &rightHandSide, IntegerVector &solution);
/** Returns the integer points in a polytope.
The polytope is of the form Mx<=rightHandSide.
One point p in the polytope must be given as input.
*/
IntegerVectorList intsInPolytopeGivenIneqAndPt(IntegerMatrix const &M, IntegerVector const &rightHandSide, IntegerVector const &p);
IntegerVectorList intsInPolytopeGivenIneq(IntegerMatrix const &M, IntegerVector const &rightHandSide);
#endif
|