Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CPLEX Error 1219: No names exist during warm start

    Posted 03/29/15 02:42 PM

    Originally posted by: prashanw


    I am trying to warm start a MIP in the python API. My steps are below

    1. I am running cplex.solve() insider a loop (i.e multiple iterations)

    2. I get a solution from the previous iteration and use it to warm start the current iteration. (For the very first iteration it's random initialization)

    3. When I call my_prob.MIP_starts.add() I get the following error 

    CPLEX Error  1219: No names exist.

    Whats the cause and how do I get rid of this error!....I have actually previously successfully warm started the MIP. It's simply that in this instance its giving me this error and I don't know the reason behind it, nor a way to debug it. Any help would be greatly appreciated.

    Thanks!

    Prashan

     

    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX Error 1219: No names exist during warm start

    Posted 03/30/15 01:50 PM

    Are you using the optional name parameter to MIP_starts.add() or not?  If you are, what happens if you try without it?  Can you provide a small example that reproduces this behavior?

     


    #CPLEXOptimizers
    #DecisionOptimization