Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  script fixing dvar values while running????

    Posted 03/05/09 04:31 PM

    Originally posted by: SystemAdmin


    [daniel said:]

    I'm coding a simple heuristic in OPL to solve a large MIP. I first solve the relaxed model (all real variables). I then identify the variable with the highest fractal value and fix it to 1. I solve the model again. I keep going like this until all relaxed binary variables are either set to 1 or 0.

    I can't figure out how to identify the variable with the highest fractal value. I tried "maxl" but it's not valid in a script. How can I get it.

    Thanks

    Daniel
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: script fixing dvar values while running????

    Posted 03/06/09 10:40 AM

    Originally posted by: SystemAdmin


    [afleischer said:]

    Hi,

    maybe what you can do is use the maxl in the postprocessing and then get this value in your main script.
    Or in your main script, you write your own loop to do what maxl does.

    Alex
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: script fixing dvar values while running????

    Posted 03/06/09 06:37 PM

    Originally posted by: SystemAdmin


    [daniel said:]

    thanks, I'll try that.

    Daniel
    #DecisionOptimization
    #OPLusingCPLEXOptimizer