Changeset 2037 for trunk/Cbc/test/CInterfaceTest.c
- Timestamp:
- Jun 10, 2014 11:13:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cbc/test/CInterfaceTest.c
r2036 r2037 111 111 } 112 112 113 /* 113 114 void testProblemModification() { 114 115 115 116 Cbc_Model *model = Cbc_newModel(); 116 117 117 / * Simple knapsack problem118 / * Simple knapsack problem 118 119 Maximize 5x[1] + 3x[2] + 2x[3] + 7x[4] + 4x[5] 119 120 s.t. 2x[1] + 8x[2] + 4x[3] + 2x[4] + 5x[5] <= 10 120 121 All x binary 121 * /122 * / 122 123 123 124 CoinBigIndex start[] = {0, 1, 2, 3, 4, 5, 6}; … … 189 190 190 191 } 192 */ 191 193 192 194 /* … … 334 336 printf("Unbounded test\n"); 335 337 testIntegerUnbounded(); 336 printf("Problem modification test\n");337 testProblemModification(); 338 /*printf("Problem modification test\n"); 339 testProblemModification();*/ 338 340 339 341 return 0;
Note: See TracChangeset
for help on using the changeset viewer.