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

Partial start in Matlab?

回答済み

コメント

1件のコメント

  • 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

サインインしてコメントを残してください。