You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-56Lines changed: 30 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,83 +10,57 @@ Currently there are three tested algorithms:
10
10
* ADMM sharing variant on flexibility providing resources
11
11
* COHDA, Combinatorial Optimization Heuristic for Distributed Agents, which minimizes the distance of schedule sums to a given target schedule
12
12
13
-
There is one carrier implemented:
13
+
There are two carrier implemented:
14
+
* A lightweight built-in carrier
14
15
* Mango.jl, agent framework for the simulation of distributed systems, DO provides roles to which the specific algorithms can be assigned to
15
16
16
-
Note that the package is highly work in progress.
17
+
Note that the package is still work in progress.
17
18
18
-
### Using the sharing ADMM with flex actors (e.g. for resource optimization) with Mango.jl
19
+
##Examples
19
20
20
-
```julia
21
-
using Mango
22
-
using DistributedResourceOptimization
21
+
### Using the sharing ADMM with flex actors (e.g. for energy resource optimization)
23
22
24
-
@rolestruct HandleOptimizationResultRole
25
-
got_it::Bool=false
26
-
end
23
+
You can use DRO in two different ways, using the express style, just executing the distributed optimization routine without embedding it into a larger system. For that two different ways are available, distributed and coordinated optimization.
27
24
28
-
function Mango.handle_message(role::HandleOptimizationResultRole, message::OptimizationFinishedMessage, meta::Any)
29
-
role.got_it =true
30
-
end
25
+
#### Coordinated (ADMM Sharing with resource actors)
If you need more control, e.g. when integrate the optimization into a larger system we recommend using the carrier system directly, e.g with the built-in carrier:
### Using the sharing ADMM with flex actors (e.g. for resource optimization) with Mango.jl
1
+
##Getting Started
2
2
3
-
```julia
4
-
using Mango
5
-
using DistributedResourceOptimization
3
+
### Using the sharing ADMM with flex actors (e.g. for energy resource optimization)
6
4
7
-
@rolestruct HandleOptimizationResultRole
8
-
got_it::Bool=false
9
-
end
5
+
You can use DRO in two different ways, using the express style, just executing the distributed optimization routine without embedding it into a larger system. For that two different ways are available, distributed and coordinated optimization.
10
6
11
-
function Mango.handle_message(role::HandleOptimizationResultRole, message::OptimizationFinishedMessage, meta::Any)
12
-
role.got_it =true
13
-
end
7
+
#### Coordinated (ADMM Sharing with resource actors)
If you need more control, e.g. when integrate the optimization into a larger system we recommend using the carrier system directly, e.g with the built-in carrier:
0 commit comments