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
The package DistributedOptimization.jl (DO) aims to provide a collection of distributed optimization algorithms. The algorithms are implemented without considering one special communication technique or package. DO provides abstract types and function interfaces to implement so-called carriers, which are able to execute the distributed algorithms asynchronous. All algorithms can also be used without carrier using fitting @spawn or @async statements.
5
7
@@ -10,4 +12,80 @@ Currently there are two tested algorithms:
10
12
There is one carrier implemented:
11
13
* Mango.jl, agent framework for the simulation of distributed systems, DO provides roles to which the specific algorithms can be assigned to
12
14
13
-
Note that the package is highly work in progress.
15
+
Note that the package is highly work in progress.
16
+
17
+
### Using the sharing ADMM with flex actors (e.g. for resource optimization) with Mango.jl
18
+
19
+
```julia
20
+
using Mango
21
+
using DistributedOptimization
22
+
23
+
@rolestruct HandleOptimizationResultRole
24
+
got_it::Bool=false
25
+
end
26
+
27
+
function Mango.handle_message(role::HandleOptimizationResultRole, message::OptimizationFinishedMessage, meta::Any)
0 commit comments