how can I multiply together many variables in JaCoP?
It is a suspicious that your CP model requires to multiply *many* variables.
You have not specified the multiplication you are looking for.
if you look for x1*x2*…*xn=result then you could use XmulYeqZ (n-1 of them to be precise) and n-2 auxilary variables to store partial results of the multiplication.
Thank you Radek for your reply.
I was looking for something more powerfull.
But thanks again!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.