Changeset 2441:d8d6ab871608 in lemon-0.x for test
- Timestamp:
- 05/07/07 20:19:55 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3278
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mip_test.cc
r2391 r2441 42 42 //int decimal,sign; 43 43 std::ostringstream buf; 44 buf << "Primalstatus should be: " << int(stat)<<" and it is "<<int(lp. primalStatus());44 buf << "Primalstatus should be: " << int(stat)<<" and it is "<<int(lp.mipStatus()); 45 45 46 46 … … 82 82 //Constraints 83 83 mip.addRow(2*x1+x2 <=2); 84 mip.addRow(x1-2*x2 <=0); 84 mip.addRow(x1-2*x2 <=0); 85 85 86 86 //Nonnegativity of the variable x1 87 87 mip.colLowerBound(x1, 0); 88 89 90 88 91 89 //Maximization of x1
Note: See TracChangeset
for help on using the changeset viewer.