Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error

    Posted 11/06/16 09:25 PM

    Originally posted by: M.Heshmat


    Dear,

    This error window appears after 15 seconds from running the model. What should I do to solve this problem?

    Thank you.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Error

    Posted 11/07/16 02:05 AM

    Hi,

    which cplex version do you use ?

    Can you attach your model ?

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Error

    Posted 11/07/16 02:20 AM

    Originally posted by: M.Heshmat


    Dear Alex,

    Thank you for your reply.

    I am using Cplex 12.2. Attached is the model.

    Best Regards,

    Mahmoud


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Error

    Posted 11/07/16 04:07 AM

    Hi,

    you could be hitting an out of memory issue.

    I see in your model:

    forall (i in Patients,k in Chairs)
        
    {
          Constraint11:
           sum(i in Patients, j in Nurses, u in U11) y[i,j,k,u]<=1;

     

    which looks strange because you do a loop on all patients i and then again on all patients i.

    And then for all the constraints , why don t you compute U and P and then use a single constraint ?

    Are you a researcher ?

    regards

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Error

    Posted 11/07/16 04:27 AM

    Originally posted by: M.Heshmat


    Dear Alex,

    Thank you very much for your beneficial remark in constraint 11. Indeed it is wrong, the right one is:

    forall (k in Chairs)
        
    {
          Constraint11:
           sum(i in Patients, j in Nurses, u in U11) y[i,j,k,u]<=1;

    Regarding resolving constraint 11 and 12 with this brutal force way, I could not write them in a compact form. That is why I sent that problem in a previous question topic entitled by "Comparing two simple models", and I am waiting for a suggestion.

    I am a student.

    Thank you very much.

    Best Regards,

    Mahmoud

     


    #CPLEXOptimizers
    #DecisionOptimization