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

Objective Function Summation Help

回答済み

コメント

1件のコメント

  • 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

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