Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Execution problem

    Posted 05/13/18 06:05 AM

    Originally posted by: Ahlem


    Hi, 

    I have a problem of execution and I hope that some of you can help me.

     

    I am working on a scheduling problem and I am using hybridization between exact and approximate methods (cplex and the genetic algorithm). And I work on the instance of Brandimarte MK01 which is composed of 10 jobs.

     

    So, I give you briefly the steps of my program to better understand me :

    First of all I generate my population with the genetic algorithm (say 60 individuals) then for each individual I call the Cplex using java (cp optimizer) to calculate the makespan then I select 30 individuals randomly and I apply the crossover and the mutation for these individuals (the loop rotates 250 times) then I call back cplex to calculate the new costs and I apply the selection another time and I display the best makespan in 250 times iterations. And before the crossover and mutation loop I have another loop that indicates the generation number (rotates 15 times) and I think that's the principle of the genetic algorithm. But when I'm running my program, the eclipse is blocked.

     

    Do you think this blocking because of the using of Cplex ( i mean the cplex call in each iteration)?

    Best regard


    #DecisionOptimization
    #OPLusingCPLEXOptimizer