a question about adding constraints bother me very much
I'm modifying a MILP model by 'gurobi+python'.firstly I have a original model,It debug well and I want to add something new constraints, but it doesn't work.one of the constraint is

and the SOC is defined as a continuous variable

I give the SOC a initial original value like10,then I write the code
but the result shows the constraint doesn't work.SOC[1]~SCO[24] are all 10.AND the output of the new model has no difference with the original model.I really don't know why.
please help me,thank you!
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?.
Post is closed for comments.
Comments
1 comment