<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>I understand that the "branchAndBound" method as part of OsiClpSolverInterface is not for 'heavy' use, however:<br>Is it correct that OsiClp will only solve problems where the integer variables have reasonable upper (and lower, I guess) bounds?<br><br>For example, I've tried a simple problem like&nbsp;&nbsp; max x1 + x2, st. &nbsp; x1 + 2 * x2 &lt;= 3.9&nbsp;&nbsp; with x1, x2 &gt;= 0 and integer.<br><br>NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BLANK&nbsp;&nbsp; <br>ROWS<br>&nbsp;N&nbsp; OBJROW<br>&nbsp;L&nbsp; R0000000<br>COLUMNS<br>&nbsp;&nbsp;&nbsp; C0000000&nbsp; OBJROW&nbsp;&nbsp;&nbsp; 1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R0000000&nbsp; 1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; C0000001&nbsp; OBJROW&nbsp;&nbsp;&nbsp; 1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R0000000&nbsp; 2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>RHS<br>&nbsp;&nbsp;&nbsp; RHS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R0000000&nbsp; 3.9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>BOUNDS<br>&nbsp;UI BOUND&nbsp;&nbsp;&nbsp;&nbsp; C0000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1e+30<br>&nbsp;UI BOUND&nbsp;&nbsp;&nbsp;&nbsp; C0000001&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1e+30<br>ENDATA<br><br>This wont solve correctly&nbsp; <br><br>Coin0506I Presolve 0 (-1) rows, 0 (-2) columns and 0 (-2) elements<br>Clp0000I Optimal - objective value 3.9<br>Coin0511I After Postsolve, objective 3.9, infeasibilities - dual 0 (0), primal 0 (0)<br>Clp0032I Optimal objective 3.9 - 0 iterations time 0.002, Presolve 0.00<br>Clp0006I 0&nbsp; Obj 3.9 Primal inf 3.9 (1)<br>Clp0006I 1&nbsp; Obj -0<br>Clp0001I Primal infeasible - objective value -0<br>(and stops here)<br><br>unless I add something like x1, x2 &lt;= 10<br><br>Is this an (undocument?) requirement, or am I doing something wrong..<br><br>Thanks,<br><br>Jan-Willem Goossens<br><br><br></div><br /><hr />Je foto's bewerken en in elkaar laten overlopen <a href='http://get.live.com/nl-nl/wl/all' target='_new'>met Windows Live Fotogalerij</a></body>
</html>