Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Change solving algorithm

    Posted 07/17/13 06:09 AM

    Originally posted by: Adriano199


    Hi,

    I'm starting in the world of ILOG and i'm using java to call ILOG and  OPLRunSample java file to import the model and dat file to solve the problem. 

    My question is if it's possible to define another algorithm inside of CP optimizer. 

    Regards,
    Adriano


    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Change solving algorithm

    Posted 07/17/13 09:38 AM

    Originally posted by: Philippe_Refalo


    Your question is pretty unclear so there are several answers:

    - In CP Optimizer, you can choose between DepthFirst, Restart (default) and MultiPoint algorithms to solve the problem. Look at parameter SearchType.

    - If your problem is linear or has a form that is supported by CPLEX then you can use CPLEX instead of CP Optimizer

    - You can include a domain-reduciton algorithm as a subclass of an IloPropagator in Java, however this is rather slow as it goes through a JNI. 

    - You can include a domain-reduction algorithm as a subclass of an IloConstraint in C++  -- this is the way every CP Optimizer constraints is implemented.

    Regards

    Philippe


    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: Change solving algorithm

    Posted 07/17/13 09:58 AM

    Originally posted by: Adriano199


    Thanks for the answer Philippe.

    My intention is to edit model file using java, I mean to multi-agent system to edit the model changing algorithm's. The best way to edit the model file is using a parser I thing am I correct?  The model is already built.

     

    Regards,

    Adriano

     


    #CPOptimizer
    #DecisionOptimization


  • 4.  Re: Change solving algorithm

    Posted 07/17/13 10:21 AM

    Originally posted by: Philippe_Refalo


    You can parse and edit the OPL model but if you change only the configuration of CP Optimizer you can use parameter changes. If you plan to do significant changes in the mdel it might be better to create it in Java, it will be easier to edit afterwards in the agents. 

    Philippe


    #CPOptimizer
    #DecisionOptimization


  • 5.  Re: Change solving algorithm

    Posted 07/17/13 10:58 AM

    Originally posted by: Adriano199


    Thanks for your help Philippe.


    #CPOptimizer
    #DecisionOptimization