[gecode-users] InVarArray methods
Julian Cardona
juliancardona10 at gmail.com
Mon Dec 8 18:32:22 CET 2008
Hey people i feel very idiot posting this but i have no idea hot to assign
values to a IntVarArray, i mean, i have an IntVarArray and i can initialize it
how it is described in the API but i dont know how to assign arbitrary vaules
to it.
I cant figure out why i can print out the value of a desired position:
std::cout << MyIntVarArray[i] << std::endl;
but im unable to assign values to it in the common way:
MyIntVarArray[4] = element;
Please help me!!!
More information about the gecode-users
mailing list