Chaolong Chen
 Total activity 8
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 0
 Subscriptions 3
Activity overview
Latest activity by Chaolong Chen
Chaolong Chen commented,
Thank you so much for your help. Can you explain briefly what ScenNRhs does? I am not certain how the ScenNRhs behaves. The documentation says it changes the RHS of the linear constraint. But if th...

Chaolong Chen commented,
Thank you for your reply. The second model is built based on the first model, with the only change being adding the percentage_variations and the forloop. The input parameters are the same. I thou...

Chaolong Chen created a post,
Solution time drastically increased when in a loop?
AnsweredI have a MILP model, in base scenario it can be solved within 10 seconds, see log: Gurobi 10.0.1 (mac64[arm]) logging started Mon Sep 18 17:43:26 2023Set parameter LogFile to value "base_scenario/r...

Chaolong Chen created a post,
Constraint on decision variables in a multi period scenario
AnsweredI have the following parameters: period = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]facility = ['f1', 'f2', 'f3', 'f4', 'f5'] I have declared a binary decision variable as follows: X_f = m.addVars(faci...

Chaolong Chen created a post,
Converting equations into constraints
AnsweredThe model contains the following sets and variables: # setsu = ['u1', 'u2',...g = ['g1', 'g2',...i = ['i1', 'i2',...k = ['k1', 'k2',...l = ['l1', 'l2',...v = ['v1', 'v2',...# parametersR_k = {'k1':...