disropt
latest
  • Home
  • Installation
  • Quick start
  • Tutorial
  • Examples
  • API Documentation
    • Agents
    • Communicator
    • Algorithms
      • Consensus
      • (Sub)gradient algorithms
      • Dual and Primal/Dual
      • Set membership algorithms
      • Constraint Exchange
      • Miscellaneous
    • Functions
    • Constraints
    • Problems
    • Utilities
  • Advanced features
  • Acknowledgements
disropt
  • Docs »
  • API Documentation »
  • Algorithms
  • Edit on GitHub

Algorithms¶

  • Consensus
    • Consensus
    • AsynchronousConsensus
    • BlockConsensus
    • PushSumConsensus
  • (Sub)gradient algorithms
    • Distributed projected (Sub)gradient Method
    • Randomized Block (Sub)gradient Method
    • Distributed Gradient Tracking
    • Distributed Gradient Tracking (over directed, unbalanced graphs)
  • Dual and Primal/Dual
    • Distributed dual decomposition
    • Distributed ADMM
    • Distributed dual subgradient method
    • Distributed Primal Decomposition
    • Distributed Primal Decomposition for MILPs
    • ASYMM (beta)
  • Set membership algorithms
    • Distributed Set Membership
    • Asynchronous Distributed Set Membership
  • Constraint Exchange
    • Constraints Consensus
    • Distributed Simplex
    • Dual Distributed Simplex
  • Miscellaneous
    • Distributed Logic-And
    • Asynchronous Distributed Logic-And
    • Distributed Max-Consensus

Algorithm

class disropt.algorithms.Algorithm(agent, enable_log=False, **kwargs)[source]¶

Bases: object

Algorithm abstract class

Parameters
  • agent (Agent) – agent to execute the algorithm

  • enable_log (bool) – True for enabling log

agent¶

agent to execute the algorithm

Type

Agent

sequence¶

sequence of data generated by the algorithm

Type

numpy.ndarray

enable_log¶

True for enabling log

Type

bool

get_result()[source]¶

Return the value of the solution

run()[source]¶

Run the algorithm

Next Previous

© Copyright 2020, Francesco Farina, Andrea Camisa, Andrea Testa, Ivano Notarnicola, Giuseppe Notarstefano Revision 04b4d523.

Built with Sphinx using a theme provided by Read the Docs.