Decision Optimization

Decision Optimization

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

 View Only
  • 1.  CPLEX: Warm start MIP model through Java API

    Posted Fri February 18, 2011 10:30 AM

    Originally posted by: PRIMARY Harry Vrazopoulos


    I am trying to set an initial solution for warm-starting a MIP problem in CPLEX through the Java API. Is the "setVectors" method suitable? If yes, how is it used? Is there a simple example? The initial solution comes from a heuristic and is in the form of a vector of integers with the same length as the respective decision variable.

    Besides "setVectors" are there any other related methods for warm-starting a MIP problem?

    Thx in advance
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX: Warm start MIP model through Java API

    Posted Fri February 18, 2011 10:54 AM

    Originally posted by: SystemAdmin


    I don't know what method in Java API, but I think there would be a similar method to that in C++. You could search "readMIPStart" in the help document for Java. This might help. But you need to provide a solution file with an extension of .mst. For more details, please refer to Starting with a Feasible Solution in the manual for ILOG CPLEX. Good luck.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: CPLEX: Warm start MIP model through Java API

    Posted Fri February 18, 2011 07:28 PM

    Originally posted by: GuangFeng


    Please use IloCplex.addMIPStart. You can find more information here
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: CPLEX: Warm start MIP model through Java API

    Posted Sat February 19, 2011 08:00 AM

    Originally posted by: PRIMARY Harry Vrazopoulos


    Thank you, that was very helpful.
    I finally managed to warm-start my MIP problem.
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: CPLEX: Warm start MIP model through Java API

    Posted Thu June 23, 2011 05:13 PM

    Originally posted by: fch2000


    Can you share your java code that does the warm-start of your MIP problem?

    Thanks.
    #CPLEXOptimizers
    #DecisionOptimization