Declare objective function and constraints in Python
回答済みHi, Gurobi team
I am a newbie for using this program. First, I stuck on how to declare this objective fuction and its indexs, while Sijt is binary variable in Python. Also, I want to know how to declare data input in P and c value, then link this objective fuction to any constraint such as

Can you suggest me to study and expand more constrants in the future? Thanks.
1
-
正式なコメント
This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Agustino,
This kind of function and constraints are thoroughly discussed in the posts
- Nested sum using quicksum()
- Nested quicksum function?
- Nested quicksum
- Difference between nested quicksum and several quicksums
These posts should contain all the information you seek.
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント