[Coin-discuss] Questions for CbcModel

PAN, Zhendong zhendongpan at 163.com
Wed Aug 30 05:03:35 EDT 2006


Hello coin-discuss,

I tried to use CbcModel to solve a integer program problem. However, the results returned is 


Cbc3007W No integer variables - nothing to do
Clp0006I 0  Obj 0 Primal inf 70.5 (24)
Clp0006I 4  Obj 177.5
Clp0000I Optimal - objective value 177.5
Clp0006I 0  Obj 0 Primal inf 70.5 (24)
Clp0006I 4  Obj 177.5
Clp0000I Optimal - objective value 177.5
Cbc0004I Integer solution of 177.5 found after 0 iterations and 0 nodes
Cbc0001I Search completed - best objective 177.5, took 0 iterations and 0 nodes
Clp0006I 0  Obj 0 Primal inf 70.5 (24)
Clp0006I 4  Obj 177.5
Clp0000I Optimal - objective value 177.5
Cbc0004I Integer solution of 177.5 found after 0 iterations and 0 nodes
Clp0000I Optimal - objective value 177.5

How can I tell the CbcModel which variables are integer. I found no such examples on http://www.coin-or.org/Cbc/index.html.

Best regards, 
  
PAN, Zhendong
zhendongpan at 163.com
2006-08-30





More information about the Coin-discuss mailing list