<br><font size=2 face="sans-serif">Spencer,</font>
<br>
<br><font size=2 face="sans-serif">It should work (well if you are using
Clp). &nbsp;I have modified the OsiClp unitTest to show that. &nbsp;The
extra code is lines 941 to 950 of OsiClpSolverInterfaceTest.cpp.</font>
<br>
<br><font size=2 face="sans-serif">If you make unitTest in COIN/Osi and
run unitTest you should see two mps files &quot;continuous&quot; and &quot;integer&quot;.
&nbsp;You will see that the continuous bounds are all UP while the integer
bounds are BV.</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Spencer Fung&quot;
&lt;sklfung@cse.cuhk.edu.hk&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">03/17/2005 01:32 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Discussions about open source software for Operations Research &nbsp; &nbsp;
&nbsp; &nbsp;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">&lt;coin-discuss@list.coin-or.org&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Coin-discuss] Construct
a MIP problem</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=1 face="Arial">Hi All,</font>
<br><font size=1 face="Arial">&nbsp;</font>
<br><font size=1 face="Arial">I am wondering how to construct a MIP problem
by using constraint matrix. I have done the following procedure to create
a MIP problem, </font>
<br><font size=1 face="Arial">&nbsp;</font>
<br><font size=1 face="Arial">&nbsp; &nbsp; si-&gt;loadProblem(*matrix,
NULL, col_ub, NULL, sense, rhs, NULL);</font>
<br><font size=1 face="Arial">&nbsp; &nbsp; si-&gt;setInteger(ctype, n_cols);</font>
<br><font size=1 face="Arial">si-&gt;writeMps(&quot;problem&quot;);</font>
<br><font size=1 face="Arial">&nbsp;</font>
<br><font size=1 face="Arial">However, the column type show in &#8220;problem.mps&#8221;
is still continuous. But after invoke the branchAndBound(), the column
type is changed to integer. Is it possible to obtain an integer model before
invoking the B&amp;B?</font>
<br><font size=1 face="Arial">&nbsp;</font>
<br><font size=1 face="Arial">Thanks.</font>
<br><font size=1 face="Arial">&nbsp;</font>
<br><font size=1 face="Arial">Cheers,</font>
<br><font size=1 face="Arial">Spencer</font><font size=2><tt>_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</tt></font>
<br>