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

max_() function value does not match

回答済み

コメント

2件のコメント

  • 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

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