<html><body><div><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi Christopher,<br><br>There will be a new release in autumn. I&nbsp; think I can implement&nbsp; empty sets&nbsp; and put it into this release.<br><br>Thanks,<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 14:34</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:mike.steglich@th-wildau.de">Steglich, Mike</a>; <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;">Re: AW: [Cmpl] Empty sets in CMPL data files</span><br><br></div></div><br><div>Hi Mike,
<br>
<br>thanks for the quick reply.
<br>
<br>After having a look at the source code in the mean time I came to the 
<br>same conclusion.
<br>
<br>However, it would be really nice to have as I am currently using a 
<br>static CMPL file and auto-generate a CMPL data file. The advantage is 
<br>that I do not have to parse my CMPL file and find the parameters section 
<br>but can rather just re-generate the CMPL data file from scratch each 
<br>time I want to solve with new data.
<br>
<br>I suppose I will switch from CMPL data files to using include directives 
<br>as that should give me the flexibility I need.
<br>
<br>However, I would be happy if you could consider empty sets in CMPL data 
<br>files as a new feature.
<br>
<br>Thanks and best regards,
<br>
<br>Christopher
<br>
<br>On 2015-08-07 13:39, Steglich, Mike wrote:
<br>&gt; Hi Christopher,
<br>&gt;
<br>&gt; It is not possible to define empty sets in a CmplData file. You can
<br>&gt; specify an empty set only &nbsp;in Cmpl in a parameter section.
<br>&gt;
<br>&gt; Cheers,
<br>&gt; Mike
<br>&gt; ------------------------------------------------------------------------
<br>&gt; Von: Christopher Gross &lt;mailto:christopher.gross@unikat.uni-augsburg.de&gt;
<br>&gt; Gesendet: ‎07.‎08.‎2015 12:54
<br>&gt; An: cmpl@list.coin-or.org &lt;mailto:cmpl@list.coin-or.org&gt;
<br>&gt; Betreff: [Cmpl] Empty sets in CMPL data files
<br>&gt;
<br>&gt;
<br>&gt; Hello,
<br>&gt;
<br>&gt; I am using CMPL with CMPL data files. In these data files I declare some
<br>&gt; sets.
<br>&gt;
<br>&gt; Depending on the input to my model some of these sets might be empty.
<br>&gt; Unfortunately, declaring an empty set with
<br>&gt;
<br>&gt; %mysetname set &lt;&gt;
<br>&gt;
<br>&gt; throws an error:
<br>&gt;
<br>&gt; fatal error: file myinput.cdat line 14: Wrong set or parameter: no data
<br>&gt; element defined
<br>&gt;
<br>&gt; I have experimented with the syntax a bit but so far have been unable to
<br>&gt; come up with something that works to produce an empty set. The CMPL
<br>&gt; manual also wasn't helpful here as empty sets in data files are not
<br>&gt; mentioned at all.
<br>&gt;
<br>&gt; Is there any way to define an empty set in a CMPL data file?
<br>&gt;
<br>&gt; Thanks in advance and best regards,
<br>&gt;
<br>&gt; Christopher
<br>&gt; --
<br>&gt; Christopher Gross, M.Sc.
<br>&gt;
<br>&gt; Lehrstuhl für Health Care Operations/Health Information Management
<br>&gt;
<br>&gt; Universitäres Zentrum für Gesundheitswissenschaften am Klinikum Augsburg
<br>&gt; (UNIKA-T), Neusässer Straße 47, 86156 Augsburg;
<br>&gt;
<br>&gt; Wirtschaftswissenschaftliche Fakultät, Universität Augsburg,
<br>&gt; Universitätsstraße 16, 86159 Augsburg
<br>&gt;
<br>&gt;
<br>&gt; Tel.: +49 821 598-6454
<br>&gt;
<br>&gt; E-Mail: &nbsp;christopher.gross@unikat.uni-augsburg.de
<br>&gt; Web: <a href="http://www.wiwi.uni-augsburg.de/bwl/brunner/">http://www.wiwi.uni-augsburg.de/bwl/brunner/</a>
<br>&gt; _______________________________________________
<br>&gt; Cmpl mailing list
<br>&gt; Cmpl@list.coin-or.org
<br>&gt; <a href="http://list.coin-or.org/mailman/listinfo/cmpl">http://list.coin-or.org/mailman/listinfo/cmpl</a>
<br></div></body></html>