<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div>

<div> </div>

<div>i tried to solve a model with Couenne using Pyomo for modeling and got an error message i dont understand. </div>

<div>Couenne finds a integer solution and finishes optimal. Still the last line from the output says:</div>

<div> </div>

<div>CoenneRecordBestSol::getModSol(): ###ERROR: expectedCard: -1 cardModSol: 121</div>

<div> </div>

<div>Could you help me out?</div>

<div> </div>

<div>Regards,</div>

<div>Christian </div>

<div> </div>

<div> </div>

<div>complete output:</div>

<div>####################################################</div>

<div>!pyomo solve --solver=couenne model_1.py <br/>
[    0.00] Setting up Pyomo environment<br/>
[    0.00] Applying Pyomo preprocessing actions<br/>
[    0.01] Creating model<br/>
[    0.03] Applying solver<br/>
ERROR: "[base]\pyomo-4.3.11329-py2.7.egg\pyomo\opt\base\solvers.py", 570, solve<br/>
        Solver (asl) returned non-zero return code (1)<br/>
ERROR: "[base]\pyomo-4.3.11329-py2.7.egg\pyomo\opt\base\solvers.py", 575, solve<br/>
        Solver log:<br/>
        Couenne 0.4.7 --  an Open-Source solver for Mixed Integer Nonlinear Optimization<br/>
        Mailing list: couenne@list.coin-or.org<br/>
        Instructions: http://www.coin-or.org/Couenne<br/>
        <br/>
        NLP0012I <br/>
                      Num      Status      Obj             It       time                 Location<br/>
        NLP0014I             1         OPT 1.1975299      124 0.231<br/>
        Coin0506I Presolve 126 (-32) rows, 74 (-47) columns and 350 (-79) elements<br/>
        Clp0006I 0  Obj 1.92 Primal inf 369.47823 (20) Dual inf 26.380188 (2)<br/>
        Clp0006I 38  Obj 0.96<br/>
        Clp0000I Optimal - objective value 0.96<br/>
        Clp0032I Optimal objective 0.96 - 38 iterations time 0.002, Presolve 0.00<br/>
        Clp0000I Optimal - objective value 0.96<br/>
        NLP0014I             2      INFEAS 0.017486949       34 0.055<br/>
        Clp0000I Optimal - objective value 0.96<br/>
        Cbc0031I 4 added rows had average density of 2.5<br/>
        Cbc0013I At root node, 4 cuts changed objective from 0.96 to 0.96328023 in 4 passes<br/>
        Cbc0014I Cut generator 0 (Couenne convexifier cuts) - 12 row cuts average 2.6 elements, 2 column cuts (6 active)<br/>
        Cbc0010I After 0 nodes, 0 on tree, 1e+050 best solution, best possible 0.96328023 (0.32 seconds)<br/>
        Cbc0010I After 100 nodes, 44 on tree, 1e+050 best solution, best possible 1.2 (2.32 seconds)<br/>
        Cbc0004I Integer solution of 1.8970508 found after 974 iterations and 115 nodes (2.35 seconds)<br/>
        Cbc0010I After 200 nodes, 54 on tree, 1.8970508 best solution, best possible 1.2 (2.82 seconds)<br/>
        Cbc0010I After 300 nodes, 86 on tree, 1.8970508 best solution, best possible 1.2 (3.18 seconds)<br/>
        Cbc0010I After 400 nodes, 130 on tree, 1.8970508 best solution, best possible 1.2 (3.38 seconds)<br/>
        Cbc0004I Integer solution of 1.44 found after 3500 iterations and 468 nodes (3.52 seconds)<br/>
        Cbc0010I After 500 nodes, 57 on tree, 1.44 best solution, best possible 1.2261503 (3.57 seconds)<br/>
        Cbc0010I After 600 nodes, 54 on tree, 1.44 best solution, best possible 1.2355182 (3.81 seconds)<br/>
        Cbc0010I After 700 nodes, 20 on tree, 1.44 best solution, best possible 1.2636993 (3.96 seconds)<br/>
        Cbc0010I After 800 nodes, 1 on tree, 1.44 best solution, best possible 1.4379178 (4.24 seconds)<br/>
        Cbc0001I Search completed - best objective 1.44, took 5821 iterations and 802 nodes (4.24 seconds)<br/>
        Cbc0035I Maximum depth 57, 5 variables fixed on reduced cost<br/>
        <br/>
        couenne: Optimal<br/>
        <br/>
                "Finished"<br/>
        CouenneRecordBestSol::getModSol(): ### ERROR: expectedCard: -1  cardModSol: 121<br/>
[    4.57] Pyomo Finished<br/>
ERROR: Unexpected exception while running model:<br/>
        Solver (asl) did not exit normally<br/>
 </div>

<div> </div>

<div> </div>

<div> </div>

<div> </div></div></body></html>