Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  incumbent solution

    Posted 12/14/15 09:37 AM

    Originally posted by: JPatrick


    If I have to stop OPL at some point prematurely because the model is taking forever to solve, is there anyway to see the best solution found to date?

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: incumbent solution

    Posted 12/15/15 02:47 AM

    Hi,

    what you could do is use flow control.

    You add a main block like:

    main
    {
    thisOplModel.generate();
    cplex.intsollim=1;

    for(var i=1;i<=50;i++)
    {
    cplex.solve();
    thisOplModel.postProcess();
    }
    }

    and then you will postProcess all solutions one by one.

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer