Decision Optimization

Decision Optimization

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

 View Only
  • 1.  PostProcess After Solve Failure

    Posted Wed September 24, 2008 07:51 AM

    Originally posted by: SystemAdmin


    [UDOPS said:]

    If solve fails (infeasible, etc.), can post processing still be invoked in a flow control environment, and will ODBC calls in a data file still occur? I would want to send the solver status back to the database and note the failure in the database record.

    I have not tried coding this yet. I did not want to go through the effort if it is pointless.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: PostProcess After Solve Failure

    Posted Wed September 24, 2008 03:53 PM

    Originally posted by: SystemAdmin


    [fwagner@Ilog.fr said:]

    You can not run post processing on an OPL model that could not be solved.

    One way to get what you are asking for is to use two different OPL models.
    The outer model will be holding the interface data in, and out in your case, and the main flow control scripting.
    The outer model's post processing section defines a set of result tuples for solves of the inner model.
    Those results will be published as indicated by the .dat file the outer model is run with.

    The inner model will do the actual solving you are interested in.

    Hope that helps.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: PostProcess After Solve Failure

    Posted Fri September 26, 2008 03:09 AM

    Originally posted by: SystemAdmin


    [UDOPS said:]

    Could you offer some more specifics? For example, if I have a "main" file with a main {} flow control structure, are you suggesting that I define data structures in the main {} structure and a main.dat file and process my results there?

    On a related question, when are odbc database updates triggered in the associated .dat file? Do they trigger at solve, or at the time the data objects are updated? Will the data update trigger multiple times if the data object is changed multiple times, through, for example, multiple execute statements?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: PostProcess After Solve Failure

    Posted Fri September 26, 2008 12:16 PM

    Originally posted by: SystemAdmin


    [fwagner@Ilog.fr said:]

    Take the cutstock example from your delivery.
    If add a [tt]cutstock_main.dat[/tt], publishing the element [tt]Result [/tt] to a data base, you get a structure similar to what I was referring to.

    Publishing is part of post processing, triggered through scripting calling[tt] IloOplModel.postProcess()[/tt].
    #DecisionOptimization
    #OPLusingCPLEXOptimizer