Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CP.IntParam.Workers in CP Optimizer

    Posted 03/06/12 09:37 AM

    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


  • 2.  Re: CP.IntParam.Workers in CP Optimizer

    Posted 03/06/12 10:53 AM

    Originally posted by: SystemAdmin


    Hello,
    It is indeed possible to use more than one worker in CP Optimizer and your parameter setting should work.
    Nevertheless, there has been many improvements and fixes since CP Optimizer 2.3 on multi-worker solving so, if possible, I would suggest you to use a more recent version. Last released version of CP Optimizer is the one of IBM ILOG CPLEX Optimization Studio V12.4. It is compatible with CP Optimizer 2.3.

    Philippe
    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: CP.IntParam.Workers in CP Optimizer

    Posted 03/12/12 04:59 AM

    Originally posted by: UdoKrehler


    Hello Philippe,
    thanks a lot for your answer! Unfortunately, I can only use my current version right now, but I'll try to upgrade within the next months.
    Thanks again, Udo.
    #CPOptimizer
    #DecisionOptimization