All Projects → dwave-examples → structural-imbalance

dwave-examples / structural-imbalance

Licence: other
Demo for analyzing the structural imbalance on a signed social network.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to structural-imbalance

satellite-placement
Group satellites into constellations such that their average observation coverage is maximized
Stars: ✭ 20 (-9.09%)
Mutual labels:  defense, intermediate
optimum
🏎️ Accelerate training and inference of 🤗 Transformers with easy to use hardware optimization tools
Stars: ✭ 567 (+2477.27%)
Mutual labels:  optimization
genx
Genx provides modular building blocks to run simulations of optimization and search problems using Genetic Algorithms
Stars: ✭ 31 (+40.91%)
Mutual labels:  optimization
geneal
A genetic algorithm implementation in python
Stars: ✭ 47 (+113.64%)
Mutual labels:  optimization
FeatureScatter
Feature Scattering Adversarial Training
Stars: ✭ 64 (+190.91%)
Mutual labels:  defense
LBFGS-Lite
LBFGS-Lite: A header-only L-BFGS unconstrained optimizer.
Stars: ✭ 98 (+345.45%)
Mutual labels:  optimization
Socioboard-5.0
Socioboard is world's first and open source Social Technology Enabler. Socioboard Core is our flagship product.
Stars: ✭ 663 (+2913.64%)
Mutual labels:  social-network
RcppNumerical
Rcpp Integration for Numerical Computing Libraries
Stars: ✭ 52 (+136.36%)
Mutual labels:  optimization
StochasticOptimization.jl
Implementations of stochastic optimization algorithms and solvers
Stars: ✭ 26 (+18.18%)
Mutual labels:  optimization
ProxSDP.jl
Semidefinite programming optimization solver
Stars: ✭ 69 (+213.64%)
Mutual labels:  optimization
IterativeLQR.jl
A Julia package for constrained iterative LQR (iLQR)
Stars: ✭ 15 (-31.82%)
Mutual labels:  optimization
go-pdu
Parallel Digital Universe - A decentralized social networking service
Stars: ✭ 39 (+77.27%)
Mutual labels:  social-network
wordpress-ostatus
An OStatus plugin for WordPress
Stars: ✭ 21 (-4.55%)
Mutual labels:  social-network
clubi
A group-oriented social media platform written in Laravel and Vue
Stars: ✭ 29 (+31.82%)
Mutual labels:  social-network
vrpy
A python framework for solving the VRP and its variants with column generation.
Stars: ✭ 94 (+327.27%)
Mutual labels:  optimization
Optimization
A set of lightweight header-only template functions implementing commonly-used optimization methods on Riemannian manifolds and convex spaces.
Stars: ✭ 66 (+200%)
Mutual labels:  optimization
CSDP.jl
Julia Wrapper for CSDP (https://projects.coin-or.org/Csdp/)
Stars: ✭ 18 (-18.18%)
Mutual labels:  optimization
decrypticon
Java-layer Android Malware Simplifier
Stars: ✭ 17 (-22.73%)
Mutual labels:  optimization
optimization
Routing optimization module module for Itinero.
Stars: ✭ 47 (+113.64%)
Mutual labels:  optimization
gams.jl
A MathOptInterface Optimizer to solve JuMP models using GAMS
Stars: ✭ 27 (+22.73%)
Mutual labels:  optimization

Linux/Mac/Windows build status

Structural Imbalance in Signed Social Networks

Social networks map relationships between people or organizations onto graphs, with the people/organizations as nodes and relationships as edges; for example, Facebook friends form a social network with friends represented as nodes with connecting edges. Signed social networks map both friendly and hostile relationships by setting the values of the edges between nodes with either plus ("+") or minus ("-") signs. Such networks are said to be structurally balanced when they can be clearly divided into two, with friendly relations (represented by positive-valued edges) in each faction, and hostile relations (negative-valued edges) between these factions.

The measure of structural imbalance or frustration for a signed social network is the minimum number of edges that violate this rule.

Three-person social network

Social theory suggests that increased frustration predicts social instability. In the context of militant organizations, this can result in increased violence.

This demo calculates and shows structural imbalance for social networks of militant organization based on data from the Stanford Militants Mapping Project.

Usage

To run the demo, execute one of the following two commands:

A. Local CPU Execution

python structural_imbalance.py --cpu

B. D-Wave System Execution

python structural_imbalance.py --qpu

Code Specifics

The demo fetches data from the Stanford Militants Mapping Project, calculates the networks, and saves a PNG graphic file of the imbalance network in the root directory of your copy of the demo repository.

Additional command line arguments are available to control the behavior of the demo, such as the region that is considered and whether to display a plot rather than saving a PNG file. Information about the command options is available via:

python structural_imbalance.py --help

License

The translation and solving code is released under the Apache License 2.0. See LICENSE file.

The dataset is used with permission from the Stanford Militants Mapping Project.

References

Mapping Militant Organizations, Stanford University, last modified February 28, 2016, http://web.stanford.edu/group/mappingmilitants/cgi-bin/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].