Skip to main content

RS01059: INTERNAL ERROR WHEN ACCESSING A TUPLE FIELD THAT IS A SET OR, ARRAY AND THAT TUPLE IS A SET ELEMENT RETRIEVED USING FIND/GET()


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Example below where, a tuple is retrieved using find() leads to
    following error when the set field of tuple is accessed:
    ASSERTION FAILED at ../../../src/script/values.cpp:464 error
    
    tuple t{
     key int index;
     {int} order;
    }
    {t} T={<1,{1}>};
    execute{
     var x = T.find(1);
     //var x = Opl.item(T,0);//using this instead of find works
     var y = Opl.first(x.order);//Assertion Failed error
      //var y = Opl.item(x.order, 0);//Assertion Failed error
      /*
      for(var z in x.order){//workaround
         var y = z;
         break;
        }*/
        writeln("y="+y);
    }
    

Local fix

  • Workaround:
    
    1) Opl.item is OK to be used if one knows the index of tuple
    item, but that may not be known at all times.
    
    2) Another alternative is iterating through various elements
    of tuple set, and stopping with the first one as below:
    
    for(var z in x.order){
         var y = z;
         break;
    }
    

Problem summary

  • This issue has been resolved and fix will be available in CPLEX
    Optimization Studio v12.5.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    RS01059

  • Reported component name

    ILOG ODM ENT

  • Reported component ID

    5724Y0400

  • Reported release

    360

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-17

  • Closed date

    2012-07-26

  • Last modified date

    2012-07-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R360 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM ILOG ODM Enterprise


Software version:
360


Reference #:
RS01059


Modified date:
2012-07-26

Translate my page

Content navigation