I made a simple diagram explaining three budgeting methods. I used draw.io, now diagrams.net. Here's the drafts:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Condorcet Cube Strategy</title> | |
| <!-- Load Plotly.js --> | |
| <script src="https://cdn.plot.ly/plotly-2.24.1.min.js"></script> | |
| <style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Condorcet Voting Strategy Space (Minimax)</title> | |
| <script src="https://cdn.plot.ly/plotly-2.24.1.min.js"></script> | |
| <style> | |
| body { font-family: sans-serif; margin: 20px; background-color: #f4f4f9; } | |
| .container { display: flex; flex-direction: row; gap: 20px; flex-wrap: wrap; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>The Ultimate STV Minimax Explorer</title> | |
| <style> | |
| /* Global Box Sizing for clean mobile padding */ | |
| * { box-sizing: border-box; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # from scipy.spatial.distance import cdist | |
| import pulp | |
| from matplotlib import collections as mc | |
| import cvxpy as cvx | |
| # test cases | |
| # index, selected, facilities, customers | |
| # n se fa cu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from scipy.spatial.distance import cdist | |
| import pulp | |
| from matplotlib import collections as mc | |
| # test cases | |
| # index, selected, facilities, customers | |
| # n se fa cu | |
| cases = [(0, 4, 5, 3), |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.