Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  how to send node data to a child node when I use oplall.jar?

    Posted 01/16/14 11:42 AM

    Originally posted by: MarekGrzes


    According to http://www-01.ibm.com/support/docview.wss?uid=swg21569088 some features are not available when I use oplall.jar. In particular, I cannot send node data to makebranch in cplex 12.4. The following error occurs:

    java.lang.UnsupportedOperationException: 'data' user object not supported in this version

     

    at ilog.cplex.IloCplex$BranchCallback.makeBranch(IloCplex.java:15462)

    Has anything changed in newer versions of CPLEX? Is there any other way I can send an object to a child node if I cannot use makebranch to do that?

    Thank you,

    Marek


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: how to send node data to a child node when I use oplall.jar?

    Posted 01/21/14 04:59 AM

    Originally posted by: VincentBeraudier


    In current version of OPL (12.x up to 6), there is no way to send node data in branch thanks to the Java API provided in the oplall.jar

    We will look to remove this limitation for a next release.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: how to send node data to a child node when I use oplall.jar?

    Posted 01/21/14 11:05 AM

    Originally posted by: MarekGrzes


    Thank you. It would be realy useful if oplall.jar could have those features in the future. As for now, I could do it in a different way. makebranch returns node id of the new node; hence, it is possible to store node's data in an external hash table indexed by the node id. This is not an ideal solution becasue the hash table has to be accessed for every node. Sending node data directly using parameters of makebranch would be much more efficient.

    Cheers,

    Marek


    #CPLEXOptimizers
    #DecisionOptimization