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

Partial start in Matlab?

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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.
  • Jaromił Najman
    • Gurobi Staff

    Hi Christoph,

    From the MATLAB docs

    start (optional)The MIP start vector. The MIP solver will attempt to build an initial solution from this vector. When present, you must specify a start value for each variable. Note that you can set the start value for a variable to nan, which instructs the MIP solver to try to fill in a value for that variable.

    So yes, you are right and one has to define a value for each variable. However, you can set a value for a variable to nan and Gurobi will try to determine this value on its own. This is equivalent to a partial MIP start where instead of not setting a value, you just set it to nan in MATLAB.

    Best regards, 
    Jaromił

    0

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