Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

Question about importModel method in c++

  • 1.  Question about importModel method in c++

    Posted 06/22/09 10:16 AM

    Originally posted by: SystemAdmin


    [namsu said:]

    Dear all,

    I'm using cplex 10.1 with c++ under windows xp.

    Assume that, I have an lp file as belows.

    max: x1 + x2 + x3
    subject to
          x1 - y1_2 <= 0<br />      x2 - y2_3 <= 0<br />      y1_2 + y2_3 <= 1<br />end

    If I want to import the model in c++, and want to access the value of a specific variable, for example y2_3, then how can I do that?

    thanks in advance.
    how can
    #CPLEXOptimizers
    #DecisionOptimization