constraints programming 2
Answeredhi
how are you ?
Please how can I formulate and code to optimize the following:
M1+M2+M3=5E+06x-0.682
M=f(Pj,Ik)
J=1,……, n
k=1,……, n
For M1, P1=0.7-0.9
For M2, P2=0.3-0.7
For M3,P3=0.5-0.7
For M1 , I1=0.7-1
For M2, I2=0.1-0.5
For M3,I3=0.3-0.7
M1=[4670330-188888889]
M2=[4670330-188888889]
M3=[4670330-188888889]
0
-
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?. -
Hi Ziyad,
You should have a look at our Modelling with Python webinar and our Python examples.
You can model the term \(x^{-0.682}\) using the addGenConstrPow function.
Depending on what your function \(f\) is, you might want to have a look at the other nonlinear functions.
Best regards,
Jaromił0 -
Thank you very much for your valuable advice .
0
Post is closed for comments.
Comments
3 comments