メインコンテンツへスキップ

Verification without DStart

進行中

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Maliheh Aramon
    • Gurobi Staff

    Hi Alexander, 

    To warm start an LP in the Gurobi Optimizer using a start vector, you need to set both PStart for every variable and DStart for every constraint.

    I can think of two alternatives that you can try:

    1. Convert your hard LP into a MIP by adding a dummy binary/integer variable and then use the solution of your simple LP as a MIP start for the hard LP converted into a MIP.

    2. You mentioned that your hard LP has two sets of constraints:

    • Start solving your hard LP with one set of constraints which is common with the simple LP (I assume that this set of constraints is easy to satisfy). 
    • After calling the optimize() method on the model above, modify the model by adding the second set of constraints and call the optimize() method again. 

    Using this strategy, the Gurobi Optimizer will automatically use the information of the first run to warm start the second run. This strategy does not depend on the solution of the simple LP. It just might help to decrease the runtime.

    Best regards,

    Maliheh 

    1
  • Alexander Haberman
    • Gurobi-versary
    • Curious
    • First Comment

    Thank you very much Maliheh!

    Your first suggestion worked great except that when I turned the hard LP into an MIP I got that the runtime of the MIP was faster than the original LP even without the start. Further, even when the objectives of the MIP with and without the start coincided, it seems like the start slightly slowed down the MIP problem. Do you have any idea why this might be happening?

    0

投稿コメントは受け付けていません。