汉涛 田
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 4
Comments
Recent activity by 汉涛 田-
thank you for your help. But I still met a problem. ⬇ ⬇ ⬇ def gurobi(time, ESS): buy_prices = [0.27, 0.27, 0.27, 0.27, 0.27, 0.27, 0.27, 0.49, 0.49, 0.49, 0.83, 0.83, 0.83, 0.49, 0.49, 0.49, 0....
-
Thank you for your reply, but I still feel some confusion. "X=m. addVars (hours, ub=8, vtype=GRB. CONTANUOUS, name=" storage ")" The upper limit of storage has been set to 8 in the formula, So ho...
-
Why would the result be 0? If I buy 5 at moment 0 and sell 5 at moment 2, then I can earn 3 * 5-2 * 5=5. Is it the result of a logical error in the code that caused the error
-
thank you for your help. But the code met one error in constraints 2.“ gurobipy.GurobiError: Constraint has no bool value (are you trying "lb <= expr <= ub"?) ”