Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

How to set JAVA/Cplex parameters to enable "feasibility pump" heuristic ?

  • 1.  How to set JAVA/Cplex parameters to enable "feasibility pump" heuristic ?

    Posted Tue February 24, 2015 11:32 AM

    Originally posted by: Zak86


    Hello Cplex users,

    I have to solve a MIP with the "feasability pump"(FP)  heuristic . So i must force CPLEX to use this method .

    I see that the FP method was introduced in JAVA/CPLEX in line 3 in the table below,  find in http://www-01.ibm.com/ but i don't know how to call it exactly before cplex.solve( ) in JAVA/CPLEX ? 

    
    C Name                    CPX_PARAM_FPHEUR (int)
    
    C++ Name                FPHeur (int)
    
    Java Name               FPHeur (int)
    
    .NET Name               FPHeur (int)
    
    OPL Name                fpheur
    
    Python Name             mip.strategy.fpheur
    
    MATLAB Name             mip.strategy.fpheur
    
    Interactive Optimizer      mip strategy fpheur
    
    Identifier                          2098
    
    
    THANK YOU VERY MUCH,

    Zak

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to set JAVA/Cplex parameters to enable "feasibility pump" heuristic ?

    Posted Tue February 24, 2015 03:53 PM
    IloCplex cplex;
    //...
    cplex.setParam(IloCplex.Param.MIP.Strategy.FPHeur, 1);
    // or maybe 2 rather than 1 -- see the docs
    

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: How to set JAVA/Cplex parameters to enable "feasibility pump" heuristic ?

    Posted Wed February 25, 2015 05:45 AM

    Originally posted by: Zak86


    Great !!!

    Thank you very much :-)

    Zak


    #CPLEXOptimizers
    #DecisionOptimization