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

Help with converting variables from divisor

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three 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 why not try our AI Gurobot?.
  • Wei Tang
    • Gurobi-versary
    • First Comment
    • Curious

    I think this can be broken down into individual questions, one for each sum of f_i. Which makes it easy to solve. 

    0
  • Jaromił Najman
    • Gurobi Staff

    I think this can be broken down into individual questions, one for each sum of f_i. Which makes it easy to solve.

    Yes, breaking the sum down into smaller parts is the way to go here.

    You can introduce an auxiliary variable \(z = \sum_j f_j\) and apply the idea described in How do I divide by a variable in Gurobi? to model your problem.

    Best regards,
    Jaromił

    0

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