Fair-Squares / fair-squares

Fair housing for all
http://www.fair-squares.nl
Apache License 2.0
16 stars 8 forks source link

Bidding pallet - improvment of bidding workflow #168

Closed letodunc closed 2 years ago

letodunc commented 2 years ago

Motivation

The Bidding pallet have a basic workflow to assemble investors to bid for a houses. In Some cases don't fit the workflow and may result as a failed as the algorithm manage simple cases. The following case may failed with a max share of 20% and min share of 10% (configurable variables): investor 1 : share 20% investor 2 : share 20% investor 3 : share 20% investor 4 : share 15% investor 5 : share 10% investor 6 : share 10% investor 7 : share 15% The algo will find (1,2,3,4,5,6) with a total share of 95% of the asset contributed although a correct solution could be (1,2,3,4,5,7)

Suggested Solution

Add to the algorithm the management of more complex cases taking into account oldest contribution, capacity to contribute and the total contribution of investors list.

Functionalities

Take into account the investment power of the assembled investors to build a valid list