Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How can I setup a Piecewise function in matlab for cplex.

    Posted 08/29/12 02:27 AM

    Originally posted by: Zhiyuan6600


    All the help docs I can ever found are about how to use piecewise function via opl or c++, can we have some tips about matlab?
    I can't understand the code in transport.m as a new user.
    In my model,production cost is formulated in form of Piecewise function in objection express. I pursue minimum value of the total cost.
    Who can help me, thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How can I setup a Piecewise function in matlab for cplex.

    Posted 10/07/12 09:03 PM

    Originally posted by: John Cui


    In tranport.m sample, we used SOS to build the Piecewise objective function, you can just export this model to a LP file, and take a look the SOS contraints, objective and decision variables to understand how SOS can build Piecewise objctive.
    John Cui
    #CPLEXOptimizers
    #DecisionOptimization