Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Effect of dexpr

    Posted Thu December 20, 2018 12:28 AM

    Originally posted by: sandeepsinghchauhan


    Hi

    I have a model A in which there is a equality constraint B.

    I have formulated model A in two ways in OPL

    1) when I am formulating B as dexpr in A

    2) when I am formulating B as a constraint in A

     

    In 1 and 2 ,  I am getting huge time difference as well as difference in optimal solution.  How can I decide which one is giving correct optimal solution? why there is difference occurring due to dexpr?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Effect of dexpr

    Posted Thu December 20, 2018 06:55 AM

    Hi,

    in the VUG you have some info https://www.ibm.com/developerworks/community/wikis/home?lang=es#!/wiki/W1a790e980a7d_49c5_963d_2965e5d01401/page/Virtual%20User%20Group%20Meetings

    See

    Efficient modeling with OPL - Optimization Programming Language Tips and Tricks

     

    You should get the same results whether you use dexpr or not but one way could get to faster results and then different solutions for a given time limit

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer