Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Get Linear Expression of Objective function.

  • 1.  Get Linear Expression of Objective function.

    Posted 12/28/15 05:34 AM

    Originally posted by: suji248


    Hello,

    Am trying to run a model with the following logic in C#. 

    1) Run the original model  Min C *X, st. AX<=B . Let Z be the objective value of optimal solution.

    2)  Now modifying the model and re running . 

    3) Modified problem is  Min D*x, st AX <=B and CX<= Z .

    What am trying to look for is can I get the value of the Linear expression CX directly from the first model such that I dont have to write much code in for modeling.

    While I modify the problem  using  cplex.addLe in C#  can I store the   product C*X and re-use it  . I mean is there any direct way to get  C*X as linear expression ??

     

    Thanks 

     

     

     

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Get Linear Expression of Objective function.

    Posted 12/28/15 07:02 AM

    Originally posted by: suji248


    Hello

    I have got the answer  here. 

    http://www-01.ibm.com/support/docview.wss?uid=swg21400062

    Thanks 


    #CPLEXOptimizers
    #DecisionOptimization