Decision Optimization

Decision Optimization

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

 View Only
  • 1.  How to change objective coefficients?

    Posted Wed February 16, 2011 03:06 PM

    Originally posted by: Sung_Hwang


    Hi all,

    I am Cplex beginner and I used concert technology with C++.

    During algorithm, I would like to change

    my objective coefficients how can I do that?

    For example,

    iteration==1
    obj max 3*x1 + 4*x2 + 5*x3
    st. x>=0 for all x

    iteration ==2
    obj max 7x1 + 6*x2 + w*x3
    st. st. x>=0 for all x
    Thank you
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to change objective coefficients?

    Posted Wed February 16, 2011 03:49 PM

    Originally posted by: GuangFeng


    How about IloObjective::setLinearCoefs()? For a more complete list, please refer to the documentation here
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: How to change objective coefficients?

    Posted Wed February 16, 2011 05:05 PM

    Originally posted by: Sung_Hwang


    thank you, I am going to look through it
    #CPLEXOptimizers
    #DecisionOptimization