Decision Optimization

Decision Optimization

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

 View Only
  • 1.  feasOpt in the MATLAB API

    Posted Sat January 12, 2013 01:24 PM

    Originally posted by: J2C0_Mark_Bloomfield


    In the CPLEX MATLAB API it only seems possible to pass linear constraints to the feasOpt call. Is there any way of to pass quadratic constraints too? I think this capability is available in other APIs, but am keen to know whether this can be done in MATLAB. Thanks!
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: feasOpt in the MATLAB API

    Posted Tue January 15, 2013 07:01 AM

    Originally posted by: SystemAdmin


    You are right. In the matlab API feasopt() can only be invoked for linear problems. Quadratic constraints are not supported here. I have filed a user wish that asks for this feature.
    To get feasopt for quadratic constraints you would have to manually create the model that feasopt would otherwise create: Add additional variables to the quadratic constraints that make the constraints always feasible and penalize the variables if they are non-zero. Then minimize the penalty.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: feasOpt in the MATLAB API

    Posted Tue January 15, 2013 04:54 PM

    Originally posted by: J2C0_Mark_Bloomfield


    Thanks Daniel - I did just that and all works well.
    #CPLEXOptimizers
    #DecisionOptimization