<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using CBC 2.10.3 to solve the attached small MIQP (MIP with quad objective), but the solution is reported as “Integer infeasible”, which is not correct.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The actual solution is x1=1, x2=1, with obj value -7.5. Continuous relaxation solution is x1 = 0.66, x2 = 1.333  with obj value -8.22222. See
<a href="https://www.inverseproblem.co.nz/OPTI/index.php/Probs/MIQP">https://www.inverseproblem.co.nz/OPTI/index.php/Probs/MIQP</a>
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The command I use is </p>
<p class="MsoNormal" style="text-indent:.5in"><b>cbc -import testmiqp.mps -minimize -solve -solution sol.txt<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The output shows interesting lines:<o:p></o:p></p>
<p class="MsoNormal">                […]<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Clp0000I Optimal - objective value -7.5<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Cbc0012I Integer solution of -7.5 found by feasibility pump after 0 iterations and 0 nodes (0.00 seconds)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Cbc0001I Search completed - best objective -7.5, took 0 iterations and 0 nodes (0.00 seconds)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Cbc0035I Maximum depth 0, 0 variables fixed on reduced cost<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Clp0006I 0  Obj -7.5<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Clp0000I Optimal - objective value -7.5<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">obj -7.5<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Continuous objective value is -9</b> - 0.00 seconds<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Testing OsiObject options 0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Cbc0006I The LP relaxation is infeasible or too expensive<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">[…]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So Feasibility Pump finds the integer solution with obj value -7.5, but then reported Continuous objective value of -9 seems incorrect.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How can I solve this MIQP with cbc?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many thanks for any help.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jan-Willem<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>