Ignore:
Timestamp:
Nov 15, 2018 11:13:52 AM (5 months ago)
Author:
forrest
Message:

more flexibility for sos - also allow more string parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/CbcOrClpParam.cpp

    r2358 r2371  
    37243724     );
    37253725     parameters[numberParameters++] =
    3726           CbcOrClpParam("sos!Options", "Whether to use SOS from AMPL",
     3726          CbcOrClpParam("sosO!ptions", "Whether to use SOS from AMPL",
    37273727                        "off", CBC_PARAM_STR_SOS);
    37283728     parameters[numberParameters-1].append("on");
     
    37323732          "Normally if AMPL says there are SOS variables they should be used, but sometime sthey should\
    37333733 be turned off - this does so."
     3734     );
     3735     // Due to James Howey
     3736     parameters[numberParameters++] =
     3737          CbcOrClpParam("sosP!rioritize", "How to deal with SOS priorities",
     3738                        "off", CBC_PARAM_STR_SOSPRIORITIZE);
     3739     parameters[numberParameters-1].append("high");
     3740     parameters[numberParameters-1].append("low");
     3741     parameters[numberParameters-1].append("orderhigh");
     3742     parameters[numberParameters-1].append("orderlow");
     3743     parameters[numberParameters-1].setLonghelp
     3744     (
     3745          "This sets priorities for SOS.  The first two just set priority \
     3746relative to integers.  Orderhigh gives first set highest priority and integers \
     3747a low priority.  Orderlow gives integers high priority then SOS in order."
    37343748     );
    37353749     parameters[numberParameters++] =
Note: See TracChangeset for help on using the changeset viewer.