<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). I have modified the OsiClp unitTest to show that. 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 "continuous" and "integer".
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>"Spencer Fung"
<sklfung@cse.cuhk.edu.hk></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
</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"><coin-discuss@list.coin-or.org></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"> </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"> </font>
<br><font size=1 face="Arial"> si->loadProblem(*matrix,
NULL, col_ub, NULL, sense, rhs, NULL);</font>
<br><font size=1 face="Arial"> si->setInteger(ctype, n_cols);</font>
<br><font size=1 face="Arial">si->writeMps("problem");</font>
<br><font size=1 face="Arial"> </font>
<br><font size=1 face="Arial">However, the column type show in “problem.mps”
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&B?</font>
<br><font size=1 face="Arial"> </font>
<br><font size=1 face="Arial">Thanks.</font>
<br><font size=1 face="Arial"> </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>