<div dir="ltr"><div><div><div><div><div>Hello, <br><br></div>first of all, thanks for the powerfull free coin project. I'm using it to create and solve a rather big scheduling problem within my master thesis but there are some heavy problems with one ("rather simple") constraint. <br></div><div><br></div><div>The thrown problem is: <br></div><div><br></div><div>Model> This application has requested the Runtime to terminate it in an unusual way.<br>Model> Please contact the application's support team for more information.<br>Model> terminate called after throwing an instance of 'std::bad_alloc'<br>Model> what():  std::bad_alloc<br></div><div><br></div><div>Together with this message, usually an exception of type "FileNotFound" is thrown, jCmpl can't find the message (and in other cases) the solution file. <br></div><div>The causing constraint is: <br></div><div>for{p in PERSONAL, s in SCHICHTEN, ss in SCHICHTEN, t in TAGE, tt in TAGE : <br>        if{ (s = "IOPL") && (ss = "A73")  && (t > 6) && (tt = t-6) : <br>res37:         x[p,s,tt] <= x[p,ss,t] + vIOPL[p,t];<br>        }<br>    }</div><div><br></div><div>x is a binary decision variable, <br></div><div>vIOPL also is a binary decision variable</div><div>TAGE is an integer set 0..42</div><div>SCHICHTEN is a string set with different shift names (about 30) <br></div><div>PERSONAL is a string set as well (about 31) <br></div><div><br></div><div>The Model itself is created in an .cmpl file, the data is passed via the jCmpl package. <br></div><div>Until this constraint everything worked fine - multiple times, but everytime i put the previously mentioned constraint into the model, <br></div><div> - the solver cant create the model and cant find the .cmsg file</div><div><br></div><div>If I exchange the vIOPL with a simple 1 hardcoded<br></div><div>- the solver can create the model but fails to find the .csol file after "terminating in an unusual way"<br></div><br></div>I'd appreciate your help very much, let me know if you need any more information like the whole model, the java code or anything else. <br><br></div>Thanks in advance and best regards, <br></div>Thomas Stahl<br></div>