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

assign and check

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    Gurobi Staff 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 why not try our AI Gurobot?.
  • Sonja Mars
    Gurobi Staff Gurobi Staff

    Hi Jason,

    Gurobi does not support this directly. However, you can easily import a solution as MIP start and see if Gurobi takes it. If it is not feasible Gurobi will let you know in the log file.

    A second way to achieve this is to explicitly fix the bounds of the variables to the values of the solution in one of the APIs and call model.optimize().

    Best,

      Sonja

    1

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