Hey everyone I really hope I can get your help. I'm trying to solva a scheduling problem having some time and resource constraints. I work with time instances that are very very long and the optimizer is taking too long. I'm trying to switch on events, that is calculate the objective function when a new task starts or finishes. Therefore i inserted the following constraints:

for (int ist =0; ist < finalIstant; ist++)
          IloIntExprArray futureEvents(env); //eventi profilo
          IloIntExpr cond;

        for (int m = 0; m< jobs.getSize(); m++)
            condEq= ist==jobs[m];
        for (int f = 0; f< jobs.getSize(); f++)
            IloIntExpr condGreater=jobs[f] > ist;    


            IloIntExpr event=nextEvent-ist;
            IloInt tempOot = itThis->optimal;
            IloIntExpr diff = tempOpt - IloSum(risIst);
            IloIntExpr diffQuad = diff * diff;


asked 11 Feb '16, 12:26

aled98's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 11 Feb '16, 12:26

Seen: 9,424 times

Last updated: 11 Feb '16, 12:26

OR-Exchange! Your site for questions, answers, and announcements about operations research.