Help with converting variables from divisor
AnsweredThere was a similar post on this question, and I know that Gurobi can't solve for models with variables as the divisor. But I want to seek help in converting my problem to something that Gurobi can solve. My problem is:

f is the variable to optimize for, the rest (p, F_hi, F_lo) are all constants. Many thanks for any insights!
-
Official comment
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?. -
I think this can be broken down into individual questions, one for each sum of f_i. Which makes it easy to solve.
0 -
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
Post is closed for comments.
Comments
3 comments