Skip to main content

max_() function value does not match

Answered

Comments

2 comments

  • Riley Clement
    Gurobi Staff 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

Please sign in to leave a comment.