User Tools

Site Tools


solver:using_the_mipstart_-_option

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
solver:using_the_mipstart_-_option [2015/09/18 15:00]
Jarungjit Parnjai
solver:using_the_mipstart_-_option [2017/09/02 19:34] (current)
support
Line 4: Line 4:
 The CPLEX manual says about "​mipstart 1" but doesn'​t say how you provide the initial binary solution but only the capability of using this option. Should I use the "​.L" ​ field before solve command (e.g. X.L(J1) = 1) or is there another way? // The CPLEX manual says about "​mipstart 1" but doesn'​t say how you provide the initial binary solution but only the capability of using this option. Should I use the "​.L" ​ field before solve command (e.g. X.L(J1) = 1) or is there another way? //
  
-Setting the level ''​(.l)''​ of the discrete variable and then passing '''​mipstart 1'''​ in a GAMS/Cplex option file will do the  trick as you guessed correctly. If the supplied solution is not feasible, Cplex will tell you so and try to repair the solution. So even an infeasible or just partial solution can help to seed the B&C algorithm. For details please consult the [[http://​www.gams.com/​help/topic/gams.doc/​solvers/​cplex/​index.html|GAMS/​CPLEX manual]].+Setting the level ''​(.l)''​ of the discrete variable and then passing '''​mipstart 1'''​ in a GAMS/Cplex option file will do the  trick as you guessed correctly. If the supplied solution is not feasible, Cplex will tell you so and try to repair the solution. So even an infeasible or just partial solution can help to seed the B&C algorithm. For details please consult the [[https://​www.gams.com/​latest/docs/S_CPLEX.html|GAMS/​CPLEX manual]].
  
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY solver/using_the_mipstart_-_option.txt ยท Last modified: 2017/09/02 19:34 by support