Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  search phase Java API

    Posted 07/20/16 06:16 AM

    Originally posted by: DavidGravot


    Hi

    in the CPO Javadoc (12.6.1 for instance), there is an undocumented API for IloCP 

    setSearchPhases(IloSearchPhase[] phases)
    

    If we use this API, does it mean cp will be notified of these search phases during the search, or shall we still pass the array of IloSearchPhase when invoking the search, using

    void IloCP.solve(IloSearchPhase[] phases);//or 
    void IloCP.startNewSearch(IloSearchPhase[] phases);
    

    thanks

     

    David


    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: search phase Java API

    Posted 07/22/16 10:38 AM

    Originally posted by: PhilippeLaborie


    Yes, search phases specified with "setSearchPhases" do not need to be passed to the solve/startNewSearch methods.

    It is part of the search configuration (like search parameters and starting point), it will be used by subsequent solve instructions.

    Philippe


    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: search phase Java API

    Posted 07/22/16 01:26 PM

    Originally posted by: DavidGravot


    Thanks

    Maybe it would be clearer to add this entry into the javadoc

    David


    #CPOptimizer
    #DecisionOptimization


  • 4.  Re: search phase Java API

    Posted 07/25/16 05:29 AM

    Originally posted by: PhilippeLaborie


    Yes, this will be fixed in next release.

    Thank you.


    #CPOptimizer
    #DecisionOptimization