Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Get Coefficients

    Posted Sat May 23, 2009 11:36 AM

    Originally posted by: SystemAdmin


    [khaledseif said:]

    Hi,
    Is there an equivalent to IloRange::setLinearCoef to get coefficients of the variables in a row? If not what are my options to extract the coefficients in an IloRange.
    Thanks
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Get Coefficients

    Posted Sat May 23, 2009 06:15 PM

    Originally posted by: SystemAdmin


    [prubin said:]

    IloRange::getExpr returns the linear expression; then maybe use an instance of IloExtractableVisitor to parse it?

    /Paul
    #CPLEXOptimizers
    #DecisionOptimization