Decision Optimization

Decision Optimization

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

 View Only
  • 1.  How to multiply integer with logical constraints in CP

    Posted Thu March 05, 2020 03:05 PM

    Originally posted by: nburana


    Hi,

    I'm working on University timetabling problem using constraint programming. Now, I would like "calculating the teaching workload assigned to the teachers" by summation teaching workload of each discipline that taught by the teacher as the following constraint.
         forall(x in Teacher)
           TeachingWorkload[x] == sum(r in InstanceSet: r.discipline in PossibleTeacherDiscipline[x]) r.tw*(teacher[r] == ord(Teacher,x));

    The model was work and I got the feasible solution if I used small value data in r.tw. But if I used high value data, the model was no solution. I have no idea where is wrong because I never been used TeachingWorkload variable in other constraints. Please helping me.

     

    Regards,

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to multiply integer with logical constraints in CP

    Posted Fri March 06, 2020 02:13 AM

    Hi,

    1) You have a dedicated CP forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000002067

    2) When you say no solution, it gives an info saying no solution or you wait for a long time and you got no solution ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to multiply integer with logical constraints in CP

    Posted Fri March 06, 2020 10:47 AM

    Originally posted by: nburana


    Hi, 

    I took just a few time and the program said no solution as shown in attached picture.

    Regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer