-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FlowDemand node type #1188
Add FlowDemand node type #1188
Conversation
I've updated |
Could there be conflicting/changing code formatting? Since my latest commit contains formatting changes to lines of code I didn't touch. |
Concept of flow demand within an optimization problem
where the value of
where
This constraint can exist unmodified as a combination of 1. and 2. because:
It must be noted that the choice to do it in this way makes it potentially hard in the future to allow flow demands for multiple priorities for the same node. Concept of the user demand within an optimization problemThis is slightly different from the flow demand, because the user does not act as a 'conductor' of flow in the absence of demand. Therefore we can just add a buffer capacity constraint on the user outflow edge variable and add to this buffer the return fraction of the abstraction of the user. Note that with this concept we are not all the way there when it comes to avoiding circular flows:
To do
|
… with flow demand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just drive-by review: would be good to break these into shorter functions.
Fixes #78.