Skip to main content

Objective Function Summation Help

Answered

Comments

1 comment

  • Riley Clement
    • Gurobi Staff

    Hi Richard,

    You can formulate line 51 with just one gp.quicksum and one pair of parentheses.  This should eliminate the error you are seeing.

    Please be aware for future questions that you will generally get a more thorough answer and faster response if you post your code in the form of a minimum reproducible example.

    - Riley

    0

Please sign in to leave a comment.