Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Use setObjCoef in C++

    Posted Wed February 02, 2011 02:01 PM

    Originally posted by: PAmorim


    I'm having troubles in accessing the method setObjCoef in C++, while in ILOG OPL IDE. Does it has other name? Every time I try to access it with "cplex. " I cannot find it. Before of course I define IloCplex cplex(env);
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Use setObjCoef in C++

    Posted Thu February 03, 2011 10:29 AM

    Originally posted by: Olivier Binckly


    Did you see setLinearcoef/setLinearcoefs from the IloObjective class?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Use setObjCoef in C++

    Posted Fri February 04, 2011 03:53 AM

    Originally posted by: PAmorim


    I tried them both. But they don't work for aggregated sums. I'm summing up tuple variables and I get always that error saying that I cannot use those methods for aggregated sums.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer