I had planned to allow for a more fine-grained specification
of which unknowns may be negative, but I never got around to it.
For now, any non-zero value will do.
> So I'm looking for the lowest M (it may be an expression using terms
Do you mean r here ?
> i, j, M and N) in the context, I use variable r to get the result, and
> I'm expecting an integer result.
If i and j are supposed to be parameters, then you should tell pip!
> The expected result would be :
>
> (list
> #[ 1 0 0]
> #[ 0 0 0]
> #[ 0 0 0]
> )
Why would you expect the minimal values of i and j to be zero
if you say that they may become negative?
> When I ask PIP to solve this problem, the solution is partially
> integer and rational (although 0/0 doesn't mean anything) :
>
> (list
> #[ 1 0 0]
> #[ 0/0 0/0 0/0]
> #[ 0/0 0/0 0/0]
This is the notation for an infinite value.
Btw, you may want to consider using isl instead of piplib.
skimo