<html><body><div><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi Christopher,<br><br>It is not possible to define empty sets in a CmplData file. You can specify an empty set only&nbsp; in Cmpl in a parameter section.<br><br>Cheers,<br>Mike</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Von: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:christopher.gross@unikat.uni-augsburg.de">Christopher Gross</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Gesendet: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎07.‎08.‎2015 12:54</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">An: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Betreff: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">[Cmpl] Empty sets in CMPL data files</span><br><br></div></div><br><div>Hello,<br><br>I am using CMPL with CMPL data files. In these data files I declare some <br>sets.<br><br>Depending on the input to my model some of these sets might be empty. <br>Unfortunately, declaring an empty set with<br><br>%mysetname set &lt;&gt;<br><br>throws an error:<br><br>fatal error: file myinput.cdat line 14: Wrong set or parameter: no data <br>element defined<br><br>I have experimented with the syntax a bit but so far have been unable to <br>come up with something that works to produce an empty set. The CMPL <br>manual also wasn't helpful here as empty sets in data files are not <br>mentioned at all.<br><br>Is there any way to define an empty set in a CMPL data file?<br><br>Thanks in advance and best regards,<br><br>Christopher<br>-- <br>Christopher Gross, M.Sc.<br><br>Lehrstuhl für Health Care Operations/Health Information Management<br><br>Universitäres Zentrum für Gesundheitswissenschaften am Klinikum Augsburg<br>(UNIKA-T), Neusässer Straße 47, 86156 Augsburg;<br><br>Wirtschaftswissenschaftliche Fakultät, Universität Augsburg,<br>Universitätsstraße 16, 86159 Augsburg<br><br><br>Tel.: +49 821 598-6454<br><br>E-Mail: &nbsp;christopher.gross@unikat.uni-augsburg.de<br>Web: &nbsp;<a href="http://www.wiwi.uni-augsburg.de/bwl/brunner/">http://www.wiwi.uni-augsburg.de/bwl/brunner/</a><br>_______________________________________________<br>Cmpl mailing list<br>Cmpl@list.coin-or.org<br><a href="http://list.coin-or.org/mailman/listinfo/cmpl">http://list.coin-or.org/mailman/listinfo/cmpl</a></div></body></html>