Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

How to stop as soon as feasible solution is found?

Archive User

Archive UserFri January 13, 2017 06:20 AM

ALEX FLEISCHER

ALEX FLEISCHERFri January 13, 2017 06:43 AM

Archive User

Archive UserTue January 17, 2017 05:35 AM

  • 1.  How to stop as soon as feasible solution is found?

    Posted Fri January 13, 2017 06:20 AM

    Originally posted by: myk40nc


    Dear People,

     

    Is it possible to stop a linear  program during runtime in IBM ILOG CPLEX Optimization Studio as soon as some feasible solution is found? It should not necessarily be optimal.

     

    Thanks,

    Myro

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to stop as soon as feasible solution is found?

    Posted Fri January 13, 2017 06:43 AM

    Hi,

    have you had a look at

    MIP integer solution limit

    Sets the number of MIP solutions to be found before stopping

     

    in OPL

    execute

    {

    cplex.intsollim=1;

    }

     

    regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to stop as soon as feasible solution is found?

    Posted Tue January 17, 2017 05:35 AM

    Originally posted by: myk40nc


    Hi Alex,

     

    Thanks a lot!

    This is exactly what I was looking for.

     

    Sincerely,

    Myro


    #DecisionOptimization
    #OPLusingCPLEXOptimizer