Hussain Askar
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Hussain Askar-
Hussain Askar commented,
thank you sir! I added another constraint to define v and now it works as expected!
-
Hussain Askar commented,
I also noticed that you removed This part [g,t] in uptime constraint: uptime[g,t] So my question is: Is the code you gave me (shown below) will count for all [g,t] values for uptime or just a singl...
-
Hussain Askar commented,
Thank You Eli. My code finally runs without errors, but for a reason it doesn't seem It cares about the constraint because it is not satisfying it! I used your formulation and it worked but the ...
-
Hussain Askar created a post,
Optimization using Gurobi
Answered# Attached is my code, where i'm trying to add a constraint that affects# the future based on data collected from the past and that is the min # run time constraint. However, I keep getting a key e...
-
Hussain Askar commented,
Thank you sir for your help! I appreciate it
-
Hussain Askar commented,
I'm really sorry, just by explaining the problem to you I realized what I was doing wrong. I think this solves it: Line_Con = model.addConstrs(gp.quicksum(output[type, period]*Line_Dfax[type] for ...
-
Hussain Askar commented,
Hi Jaromil, The constraint ( Transmission constraint ) was created to do the following: for period 0 : 0.5 * output [0,0] + 0.4 * output [1,0] + 0.3 * output [2,0] + 0.2 * output [3,0] + ... + (-0...
-
Hussain Askar commented,
I verified that all constraints are working as expected except the transmission constraint. When I checked by hand for period 0, the sum was 15.45 <= 10 which should not be valid but the code did n...
-
Hussain Askar commented,
The issue is that this constraint is ignored. With transmission constraint and without it, the code gives the same results. If this constraint was applied correctly, then our generator 1 output wo...
-
Hussain Askar created a post,
please help, how can i fix this multiplication error
AnsweredAttached is a code for an optimization problem, Look at the bolded constraint ( transmission constraint), I'm trying to multiply each generator lets say type 1 for all 24 periods by 0.4 and all ty...