Skip to main content

Functionality to optimize different classes of voting rules for user-defined goals.

Project description

Optimal Voting Package

This package allows the application of standard optimization techniques to voting rule design.

Initially, the package uses simulated annealing to find optimal positional scoring rules. The package includes functionality for:

  • generating underlying voter preferences
  • converting preferences to utility values
  • common utility functions (utilitarian, Nash, egalitarian/Rawlsian, malfare)
  • custom scoring functions to allow generating rules optimized for novel targets

NOTE: At the moment, the package is quite basic. Expect changes that break compatibility. If you encounter this and want to use the package in your work you are welcome to email Ben Armstrong and inquire about how best to do so. There are also significant updates planned: different rule types, different optimization methods (especially gradient descent), and more documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optimal_voting-0.0.2.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optimal_voting-0.0.2-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file optimal_voting-0.0.2.tar.gz.

File metadata

  • Download URL: optimal_voting-0.0.2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for optimal_voting-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c21749dc24d2871d206b23019d165a932b802814927c75517351a869f59507c6
MD5 20dbd4908671f009cef836d87e9fafea
BLAKE2b-256 6c9297bd8eff481fcbe69a622fb71f96b6e845a5f755e0f70db146c04c832823

See more details on using hashes here.

File details

Details for the file optimal_voting-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: optimal_voting-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for optimal_voting-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0721fdc1fd152cdc4570b1c8c4e180dac7b32daaa8f4146e49e710b2f3b308f2
MD5 040e41fd50abd32ca76ed05f455f15c1
BLAKE2b-256 95590e39c9201ff6466a06d76e541ef6867cf74005fdcdadab91e319b2c6ef78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page