Changeset 2039 for trunk/Cbc/test


Ignore:
Timestamp:
Jun 19, 2014 10:34:45 PM (5 years ago)
Author:
mlubin
Message:

reenable SOS code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/test/CInterfaceTest.c

    r2037 r2039  
    192192*/
    193193
    194 /*
     194
    195195void testSOS() {
    196196
    197197    Cbc_Model *model = Cbc_newModel();
    198198
    199     / *
     199    /*
    200200       Maximize  5x[1] + 3x[2] + 2x[3] + 7x[4] + 4x[5]
    201201       s.t.       x[1] +  x[2] +  x[3] +  x[4] +  x[5] == 1
    202202       All x binary
    203        * /
     203       */
    204204   
    205205    CoinBigIndex start[] = {0, 0, 0, 0, 0, 0, 0};
     
    250250
    251251}
    252 */
     252
    253253
    254254void testIntegerInfeasible() {
     
    330330    printf("Knapsack test\n");
    331331    testKnapsack();
    332     /*printf("SOS test\n");
    333     testSOS();*/
     332    printf("SOS test\n");
     333    testSOS();
    334334    printf("Infeasible test\n");
    335335    testIntegerInfeasible();
Note: See TracChangeset for help on using the changeset viewer.