Originally posted by: UdoKrehler
Hi,
I have a second question w.r.t. CP Optimizer. Because it's a different question, I start a new thread here.
I use CP Optimizer 2.3 under C# in Microsoft Visual Studio 2010. I have a program that works perfectly under CP Optimizer. However, now I wanted to speed up the search of CP Optimizer, and thus I added the following line to my code:
cp.SetParameter(CP.IntParam.Workers, 3); The rest of the code remains unchanged. What's the result of this extra line? When trying to run the program, it completely crashes. That is, the comment line window (console) suddenly disappears and the whole program is terminated without any further notice.
Does anybody know what might be the reason? Is it not possible to use more than one worker with CP Optimizer?
Thank you very much for your help!
Udo.
#CPOptimizer#DecisionOptimization