Malcolm Ryan wrote:
> Currently, I create an IntVarArray as:
>
> vars = IntVarArray(space, N);
>
> and then incrementally create variables as:
>
> vars[t] = IntVar(space, domainSet);
>
> My question is: does this actually save memory? I assume that creating
> the array created N 'uninitialised' Int
A question about IntVarArrays:
I have a large CSP that I have coded to be constructed incrementally
as the search proceeds to reduce memory usage. To simplify, lets say
that I have an array of N variables for some large N, and each one is
constrained by some relationship with its neighbours.