Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

ILOG.Concert.IloException: The referenced IloExtractable has not been extracted ...

  • 1.  ILOG.Concert.IloException: The referenced IloExtractable has not been extracted ...

    Posted Thu May 17, 2018 06:20 AM

    Originally posted by: OrhanOzguven


    When i run attachment code in C# .Net, this error comes "Concert expection caught 'ILOG.Concert.IloException: The referenced IloExtractable has not been extracted by the IloAlgorithm.." You may find details in the attachment.

    When i run same model in OPL with same data, it has been solved.

    When i reduced the number of one of the variable from 90 to 46 in C# .NET, it has been solved.

    What is the wrong?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: ILOG.Concert.IloException: The referenced IloExtractable has not been extracted ...

    Posted Thu May 17, 2018 04:20 PM

    This message is usually indicative of an attempt to access the value of a variable that was declared but never appeared in any constraint (nor in the objective function). In practice, that's frequently the result of an indexing error. In some models, what happens is that the user defines an array of variables, writes constraints that never use one or more variables, then solves the model and tries to get values for all the variables.

    You might try access the solution one variable at a time, in a debugger (or with copious use of print statements). That would let you figure out which variable was never extracted.


    #CPLEXOptimizers
    #DecisionOptimization