<div dir="ltr"><div class="gmail_extra">1) I have developed the attached working example of using sos2 constraints within CMPL on a six-segment piecewise linear function.   The excel file shows the functions in the example.</div><div class="gmail_extra"><br></div><div class="gmail_extra">This link was particularly useful in developing the CMPL code: <a href="http://homepages.rpi.edu/~mitchj/handouts/piecewise/">http://homepages.rpi.edu/~mitchj/handouts/piecewise/</a><p style="margin:0px;text-indent:0px"><br></p>I would appreciate any comments on technique or better methods of generalization within CMPL.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">2) Do I take it that in a future release of CMPL sos2 types of variables will be implemented?  If so, any idea when that might be available?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks.</div><div class="gmail_extra">Dick<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 17, 2017 at 5:29 PM, Mike Steglich <span dir="ltr"><<a href="mailto:mike.steglich@th-wildau.de" target="_blank">mike.steglich@th-wildau.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Richard,<br>
<br>
Cmpl does not contain an explicit definition of SOS variables yet. It is necessary to formulate it as a constraint.<br>
<br>
Thanks,<br>
<br>
Mike<br>
<span class="gmail-"><br>
> Am 17.12.2017 um 22:33 schrieb Richard Males <<a href="mailto:males@iac.net">males@iac.net</a>>:<br>
><br>
> I am continuing to explore the issue of piece-wise linear optimization of a 1-dimensional objective function.  It is unclear to me if CMPL contains an explicit definition of sos2 variables, or if this needs to be handled separately through definition of constraints.   I see the example in the documentation, but that appears to be a 2-dimensional case and the 'sos' look to be constraint labels.<br>
><br>
> Thanks.<br>
><br>
><br>
> --<br>
> Richard M. Males<br>
> RMM Technical Services, Inc.<br>
> 3319 Eastside Avenue<br>
> Cincinnati, OH 45208<br>
> <a href="tel:513-871-8566" value="+15138718566">513-871-8566</a><br>
><br>
> ______________________________<wbr>_________________<br>
> Cmpl mailing list<br>
> <a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br>
</span>> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cmpl&d=DwIF-g&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=Axd0FVSisUT_OdEDVlxhf3NvdBaa93RFXxvaYiKoPpk&m=hjdP69bn1SEBkLDR9fe4s6dcjKbENnN8DdNrKQhibQE&s=VbicotxzWYIqfnxTdeQZPhyP4bIkQPH7w0q4Ahze5sY&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__list.<wbr>coin-2Dor.org_mailman_<wbr>listinfo_cmpl&d=DwIF-g&c=Ngd-<wbr>ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLx<wbr>WPA_2Wlc4&r=Axd0FVSisUT_<wbr>OdEDVlxhf3NvdBaa93RFXxvaYiKoPp<wbr>k&m=<wbr>hjdP69bn1SEBkLDR9fe4s6dcjKbENn<wbr>N8DdNrKQhibQE&s=<wbr>VbicotxzWYIqfnxTdeQZPhyP4bIkQP<wbr>H7w0q4Ahze5sY&e=</a><br>
<br>
</blockquote></div><br></div></div>