Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Print Non Zero Elements

    Posted 03/10/16 12:30 AM

    Originally posted by: sandeepsinghchauhan


    I have a one "X" solution vector which having very few non-zero elements and i want to display that non-zero elements only from that "X" vector in my scripting log.

    How can i do it in cplex


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Print Non Zero Elements

    Posted 03/10/16 05:18 AM

    Are you takling OPL script here?

    Why not just iterate over the vector and dump all values that have an absolute value >eps?


    #CPLEXOptimizers
    #DecisionOptimization