Margi Shah
- Total activity 179
- Last activity
- Member since
- Following 1 user
- Followed by 0 users
- Votes 0
- Subscriptions 11
Comments
Recent activity by Margi Shah-
Thanks Jaromił Najman
-
Hi Jaromił Najman ,Many thanks for this.I did tried to print this but it seems it is not getting printed. And yes, adding this constraint makes the model infeasible.
-
Hi Jaromił Najman ,So SpinningResource[res,t] should take some value. I've a code that works: (I am only mentioning the section with SpinningResource)It is as follows: #input data spinning_reserve_...
-
Hi Jaromił Najman ,I hope you are doing well! I've met a problem in my model and I'm not sure what is the problem.The constraint related to SpinningResource in the model are below:#Constraint 1: re...
-
Hi Jaromił Najman Najman,When I am trying to replace '<=' sign in the below constraint to '<', it shows me this error, why gurobi don't accept '<' sign? res = res_cat2idx['SP'][0]Spinningusage = {}...
-
Hi Jaromił Najman,Thank you for the response.I ran the optimisation model and when I saw the Battery power, I can see that it is continous variable rather than a discrete variable. Why so ?BatteryP...
-
Hi Jaromił Najman,Yes correct, I want to access BatteryPower[t].It can take any discrete value from [-3,-2,-1,0,1,2,3].How do I write it as variable?
-
Hi Jaromił Najman,This is how I define BatteryPower:What do you mean by 'is it only one variable?' # introduce variable BatteryPower for every timestep t BatteryPower = steel.addVars(time1, lb= -3,...
-
Hi Jaromił Najman,Also I am not sure why I am getting this error: initial_SoC = 0.5 Regards,Margi
-
Hi Jaromił Najman,Alright, That means I will need to define batterypower like below: # introduce variable BatteryPower for every timestep tBatteryPower = steel.addVars(time1, lb= -3, ub = 3, name="...