Myat Thwe Naing
- Total activity 13
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 3
- Subscriptions 4
Activity overview
Latest activity by Myat Thwe Naing-
Myat Thwe Naing created a post,
KeyError, Attribute Error.
AnsweredHello! I want to model a bidirectional EV charging & discharging scheduling problem. Right now, I am trying to implement some constraints on the power flow such that 1. the power at the EV chargin...
-
Myat Thwe Naing created a post,
How to Assign a Value to a Decision Variable? + How to Constrain for a Subset of Variables
AnsweredenterSoC = [0.1, 0.2, 0.3]m.addConstrs(SoC[0, b] == enterSoC[b] for b in range(noEV))# constrain values of SoC[i+1] to SoC[i]+increment. must be done w add constraintupdatedSoC = m.addConstrs((SoC[...
-
Myat Thwe Naing commented,
Hello again! I found a solution from https://www.gurobi.com/documentation/10.0/refman/py_model_addconstrs.html . However,I don't understand why the following is valid while my original code wasnt?...
-
Myat Thwe Naing commented,
Thank you! This helped me achieve what I wanted. However, I run into a similar issue when trying to add a condition via m.addGenConstrIndicator(). I want to take x[i+1] = x[i] + someFloat only if...
-
Myat Thwe Naing created a post,
How to Generate Decision Variable Values Iteratively
AnsweredI have a problem that I am trying to model: Given a known table of ToU Tariff Prices and initial State of Charge of BEVs to be charged, find the optimal cheapest charging schedule. The objective fu...
-
Myat Thwe Naing created a post,
Help with Incorporating Battery Charging Behaviour into Model Constraints
Awaiting user inputHello, I am trying to self-teach myself how to solve linear programming problems for but i am stuck despite going through some of the beginners' resources here. My problem is simple. Given a known...