<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Arial">Hi,<br>
<br>
A few questions about SOS2 constraints.<br>
<br>
I have a model that contains SOS2 constraints, and NO integer
variables. Each variable<br>
in my SOS constraints isbounded between 0 and 1.<br>
<br>
-Can I implement it using OsiSOS objects and the function
AddObjects from OsiClpSolverInterface?<br>
Or, restated: do I need to use CbcSOS objects and the function
addObjects from CbcModel?<br>
<br>
- It is not clear to me why there is an extra parameter in the
CbcSOS constructor, i.e., int identifier,<br>
which is not present in the OsiSOS constructor.<br>
<br>
- I would like to look at the lp model. When I use the function
writeLp, I am not able to have the sos<br>
constraints displayed in the text file. My code is very similar to
the example sos.cpp. I would call <br>
model.</font><font face="Arial"><font face="Arial">solver()->writeLp("model_here");<br>
</font>just before <br>
model.branchAndBound();<br>
<br>
Thanks in advance<br>
<br>
Alexis<br>
<br>
</font><span style="color: rgb(0, 0, 0); font-family: 'Lucida
Grande', Verdana, Geneva, Arial, sans-serif; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(250, 250, 250); display: inline !important;
float: none;"><font face="Arial">- <br>
</font></span>
<pre class="moz-signature" cols="72">--
Software Engineer/Research Engineer
Softree Technical Systems Inc.
<a class="moz-txt-link-abbreviated" href="http://www.softree.com">www.softree.com</a>
Engineering an Easier Way</pre>
</body>
</html>