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

max_() function value does not match

回答済み

コメント

3件のコメント

  • 正式なコメント
    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.
  • Riley Clement
    • Gurobi Staff

    Hi Yi Ting Lin,

    Your print statements are referencing values for com = 1, but your com for-loop goes from 2 to 4 (inclusive).

    Maybe you just need:

    for com in range(1,5):

    - Riley

    0
  • Yi Ting Lin
    • Gurobi-versary
    • Conversationalist
    • Curious

    Hi Riley,

    Thanks for the help. 

    0

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