Ignore:
Timestamp:
Mar 31, 2007 6:29:02 AM (13 years ago)
Author:
forrest
Message:

cuts or special

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/Cbc_ampl.cpp

    r587 r594  
    147147        { "sosref", 0, ASL_Sufkind_var | ASL_Sufkind_real },
    148148        { "special", 0, ASL_Sufkind_var },
     149        { "special", 0, ASL_Sufkind_con },
    149150        /*{ "special", 0, ASL_Sufkind_con },*/
    150151        { strdup("sstatus"), 0, ASL_Sufkind_var, 0 },
     
    178179  dpri = suf_get("priority", ASL_Sufkind_var);
    179180  priority = dpri->u.i;
    180   dcut = suf_get("special", ASL_Sufkind_con);
     181  dspecial = suf_get("special", ASL_Sufkind_con);
    181182  dcut = suf_get("cut", ASL_Sufkind_con);
    182183  cut = dcut->u.i;
     184  if (!cut) {
     185    // try special
     186    dcut = suf_get("special", ASL_Sufkind_con);
     187    cut = dcut->u.i;
     188  }
    183189  dspecial = suf_get("special", ASL_Sufkind_var);
    184190  special = dspecial->u.i;
Note: See TracChangeset for help on using the changeset viewer.