<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 think I can implement empty sets 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>> Hi Christopher,
<br>>
<br>> It is not possible to define empty sets in a CmplData file. You can
<br>> specify an empty set only in Cmpl in a parameter section.
<br>>
<br>> Cheers,
<br>> Mike
<br>> ------------------------------------------------------------------------
<br>> Von: Christopher Gross <mailto:christopher.gross@unikat.uni-augsburg.de>
<br>> Gesendet: 07.08.2015 12:54
<br>> An: cmpl@list.coin-or.org <mailto:cmpl@list.coin-or.org>
<br>> Betreff: [Cmpl] Empty sets in CMPL data files
<br>>
<br>>
<br>> 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 <>
<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: christopher.gross@unikat.uni-augsburg.de
<br>> Web: <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>
<br></div></body></html>