<div dir="ltr">Sorry, I forgot to mention that I'm using version 2.8.9 but I guess you was already implying that :)</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-27 18:50 GMT+02:00 mg <span dir="ltr"><<a href="mailto:giunto.cardanico@gmail.com" target="_blank">giunto.cardanico@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, thanks a lot John.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-27 17:21 GMT+02:00 John Forrest <span dir="ltr"><<a href="mailto:john.forrest@fastercoin.com" target="_blank">john.forrest@fastercoin.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Marco,<br>
<br>
SOS without a convexity row got broken sometime. I think I have
fixed it in trunk.<br>
<br>
I will look at semi-continuous.<br>
<br>
The main culprit was some "improvements" which did not know about
odd sets etc.<br>
<br>
Will post something in a day or so.<br>
<br>
John Forrest<div><div><br>
<br>
On 27/06/14 15:50, mg wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div>
<div dir="ltr">Hi all,
<div>I'm trying to use SOS and LotSize/SemiContinuous objects
without success.</div>
<div><br>
</div>
<div>I have created a very simple program (attached) containing
a small problem with SOS and a small problem using LotSize
objects... </div>
<div><br>
</div>
<div>The SOS test problem is the following:</div>
<div><br>
</div>
<div>
<div>max 3 * x0 + 2 * x1 + 4 * x2</div>
<div>subject to</div>
<div> x0, x1, x2 binary</div>
<div> sos1(x0, x1, x2)</div>
</div>
<div><br>
</div>
<div>and solving it, I get x0 = 1, x1= 1, x2 = 1 where I
expected just one single 1...</div>
<div><br>
</div>
<div>The LotSize/SemiContinuous test problem is the following:</div>
<div><br>
</div>
<div>
<div>min 2 * x0 + 3 * x1 + x2</div>
<div>subject to</div>
<div> 3 * x0 + 5 * x1 + 7 * x2 <= 42</div>
<div> 4 * x0 + 3 * x1 + 2 * x2 <= 31</div>
<div> 2 * x0 + 1 * x1 + 5 * x2 <= 23</div>
<div> x0, x1, x2 integers [0,4]</div>
<div> x1 semi-continuous can be 0 or [3,4]</div>
</div>
<div><br>
</div>
<div><span>and solving it, I get x0 = 4, x1 = 2 where I expected
x1 being 0,3 or 4</span><br>
</div>
<div><span><br>
</span></div>
<div>Am I doing something wrong ?</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Marco</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Cbc mailing list
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div></div></div><br></div>
</blockquote></div><br></div>