Decision Optimization

Decision Optimization

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

 View Only

doubt CPLEX Ilog Concert about IloRangeArray

  • 1.  doubt CPLEX Ilog Concert about IloRangeArray

    Posted Mon March 14, 2011 02:39 PM

    Originally posted by: dbaena


    Hi,

    If I work with IloRangeArray and I do:

    model.add(IloRange(env,0,expr,10); //small example

    // and I add to rngs (IloRAngeArray)

    rngs.add(IloRange(env,0,expr,10);

    but when I want to remove that constraint it is easy to remove from the model:

    model.remove(rngshttp://rngs.getSize()-1) but...

    how can I remove that from IloRangeArray. That class haven't got method remove...

    Thanks a lot,
    #CPLEXOptimizers
    #DecisionOptimization