Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  error in mipex3

    Posted 01/03/12 08:19 PM

    Originally posted by: PingLiu


    when I run the section Add Order to model from line 72,
    where can I see the parameter 'Order' in Cplex class?

    for line 69*Use addSOSs to add SOS*, what's the purpose to add SOS in MIP?

    if you run mipex3.m, then error will be present
    ??? Error using ==> mipex3 at 89
    No appropriate method, property, or field writeOrder for class Cplex.
    

    what's wrong with it?

    thanks a lot.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: error in mipex3

    Posted 01/04/12 02:52 AM

    Originally posted by: John Cui


    1. do you mean you want to take a look Order's help document?
    2. SOS is a MIP technology, you can go to this link to take a look:
    http://publib.boulder.ibm.com/infocenter/cosinfoc/v12r4/topic/ilog.odms.cplex.help/CPLEX/User_manual/topics/discr_optim/sos/uss_usingSOS_1.html
    3. how did you run mipex3, you should run mipex3 like:
    >> mipex3('r')
    Default variable names x1, x2 ... to be created.
    MIP Presolve eliminated 1 redundant SOS constraints.
    Tried aggregator 1 time.
    MIP Presolve eliminated 3 rows and 4 columns.
    All rows and columns eliminated.
    Presolve time =    0.00 sec.
     
    Solution status = integer optimal solution 
    Solution value = 56.000000 
    Values =
        40
         7
         0
         2
     
    Slacks =
        33
        11
         0
    

    or mipex3('c'), mipex3('n')

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: error in mipex3

    Posted 01/04/12 04:40 PM

    Originally posted by: PingLiu


    I've add the cplex path in matlab.
    but when I search cplex.order, No Matches Found,why?

    when I run
    mipex3('r')
    

    ??? Error using ==> mipex3 at 89
    No appropriate method, property, or field writeOrder for class Cplex.
    

    Do you know the reason?
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: error in mipex3

    Posted 01/06/12 02:09 PM

    Originally posted by: PingLiu


    It's resolved, thanks a lot.
    #CPLEXOptimizers
    #DecisionOptimization