hovinh / hdb-simulation Goto Github PK
View Code? Open in Web Editor NEWSimulation of Housing Development Board's allocations in Singapore.
Simulation of Housing Development Board's allocations in Singapore.
Due to the current bottleneck (slow speed) in Integer Programming Solver, I can only run with a small number of agents and flats. Another idea is scaling down every project in sale launches within 1 years to 1 block with 10 flats each and then rerun the simulation.
Data: . I have provided number of apartments (flats) and number of blocks in 15 projects in 9 months. Your job is scale them to 15 blocks with 10 flats each and rerun the simulation in
.
Steps:
actual_flats_per_block.txt
file.actual_location.txt
file.actual_ethnic.txt
file.main.py
with compare_random_utility(10)
and compare_location_utility(10)
uncommented.Refer to >
Time
sheet, the time it takes to run a small scale experiment is quite big already. I need a way to optimize this bottleneck.
Numb agents | Numb flats | Time(sec) |
---|---|---|
50 | 50 | 4.3 |
50 | 100 | 12.4 |
100 | 50 | 12.4 |
100 | 100 | 32.53 |
200 | 200 | 169 |
The implementation follows the tutorial .
Suggestion or PR should be an alternative way which uses PuLP
package or any Python-supported package.
I have implemented 2 ways to twist the value of variance in Location utility model with ethnicity factor(defined in class):
The question is, how can one determine a good variance? Currently, I have no clear measurement or criterion in mind.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.