Commit Graph

51 Commits

Author SHA1 Message Date
Piv 87fa169d0c Add optional messagepack output for overhead allocation to cli 2023-03-17 18:57:47 +10:30
piv 7949a0a07b Start adding messagepack serialization by adding custom serialize trait to handle csv and messagepack serialization
This is required as csv writer doesn't expose the serde::Serializer implementation, so we can't just use that trait in place of the output writer
2023-03-15 21:48:49 +10:30
Michael Pivato 83a4fc28cc Merge branch 'overhead_allocation_multi_threading' into 'main'
Add multithreading to overhead allocation, add optional storage of from

See merge request vato007/coster-rs!3
2023-03-13 06:03:18 +00:00
Michael Pivato 933e9b33ca Add multithreading to overhead allocation, add optional storage of from departments 2023-03-13 06:03:18 +00:00
Piv 8a6a94a11e Stop calculating amounts of overheads that don't have initial costs 2023-03-11 23:46:37 +10:30
Piv d88fbe707a Use rayon to speed up percentage calculations, add readme 2023-03-11 22:21:07 +10:30
Piv 55e2a0c24c Remove unnecessary todo 2023-03-11 20:47:47 +10:30
Piv 7c89ba4130 Fix output path in overhead allocation ios app 2023-03-11 20:44:48 +10:30
Piv f5bc441fdb Allow showing from amounts in overhead allocation 2023-03-11 20:19:28 +10:30
piv 7cd893cbf8 Refactor product creator, remove threading for writing to disk 2023-03-11 10:55:41 +10:30
Piv 363c972b71 Reinstate cli as the main binary crate for now 2023-03-10 21:01:43 +10:30
Piv ba740710f3 Fix compilation 2023-03-10 20:21:04 +10:30
Piv 1ea7b7e3b8 Start adding service version of coster 2023-03-10 19:54:09 +10:30
Piv f5a777baa7 Fix flush pass to print to and from department/account 2023-03-10 17:30:23 +10:30
michaelpivato 8dc0881197 Fix all to single department range 2023-03-10 11:34:01 +10:30
Piv 568a66c6cf Add numeric accounts as property to lib, redistribute floating point errors for each account in overhead allocation 2023-03-09 22:28:05 +10:30
Piv 5603ccfd25 Add exclude negative allocation statistics option to overhead allocation 2023-03-09 21:29:25 +10:30
Piv 887e7c950b Remove smush rules, fix warnings 2023-03-09 18:58:54 +10:30
michaelpivato 540e4c778d Ignore ccs with no area, use hashset for tracking overhead ccs 2023-03-09 12:51:10 +10:30
piv 1e36bc68e4 Fix move money to correctly move between accounts/ccs with ranges and and consider cost output correctly, speed up process by using hashset for rule accounts/departments 2023-03-08 12:56:39 +10:30
Michael Pivato e1bb6e65d3 Merge branch 'product_creater' into 'main'
Add pass flushing for move money

See merge request vato007/coster-rs!2
2023-03-08 00:06:36 +00:00
piv d9f994195e Add pass flushing for move money 2023-03-08 10:35:47 +10:30
Michael Pivato 0da4842d16 Merge branch 'product_creater' into 'main'
Product creater

See merge request vato007/coster-rs!1
2023-03-08 00:04:36 +00:00
piv 4c2b9f6915 Add account type option to allocat overheads 2023-03-04 09:32:26 +10:30
piv e68d44afd5 Upgrade to clap v4, add numeric accounts argument to allocate overheads cli 2023-03-04 09:14:06 +10:30
Piv c94c18b3e3 More product creator implementation 2023-03-03 20:07:22 +10:30
piv 9f9fbd31fb More progress on product creation, including docs 2023-02-21 19:43:14 +10:30
Piv 7bce9578df Start reading of product definitions 2023-02-20 19:38:25 +10:30
Piv 3d6042d929 Start adding product builder 2023-02-18 23:05:32 +10:30
Piv 37c95909db Reduce the epsilon value format to 5 decimal places 2023-02-11 23:27:21 +10:30
Piv ea6c5424ad Add extra test, fix reciprocal allocation matrix creation 2023-02-11 21:55:52 +10:30
Piv 51ece6317f Implement overhead allocation for different account types, add it to binaries 2023-02-10 21:46:19 +10:30
Piv d1eb0b6e35 Add progress on overhead allocation conversion from ppm format 2023-02-09 22:17:24 +10:30
Piv 1bd7233c05 Fix compilation, slight optimisation to allocation statistic account index search 2023-02-08 22:12:04 +10:30
Piv 5595ab2f7c Start adding overhead allocation load from file 2023-02-08 18:32:29 +10:30
Piv a175be4d17 Get reciprocal allocation working 2023-02-05 10:22:50 +10:30
Piv f28dfe22d6 Fix create lib after move into costerrs project 2023-02-03 21:32:47 +10:30
Piv 734a19f711 Add macos/ios app using rust lib 2023-02-03 21:29:23 +10:30
Piv 1168ca46db FIx rule import for move money so it moves percentage amounts correctly 2023-02-01 08:27:05 +10:30
Piv 6f6084c605 Remove unnecessary tests 2023-01-31 21:42:04 +10:30
Piv caeed72ad1 Fix move_money, get it working with real data 2023-01-31 21:15:36 +10:30
Piv 10723efb57 Refactor codebase into submodules 2023-01-29 21:37:07 +10:30
Piv ba279c8c9b Finish implementing move money 2023-01-28 23:13:49 +10:30
Piv a2091c13b4 Remove unneeded dependencies, start work on csv parsing 2023-01-28 20:33:04 +10:30
Piv 10f24f65ac Add movements between accounts and departments 2023-01-28 11:07:13 +10:30
Piv 37a7b333ac Complete move money between departments 2023-01-28 10:51:31 +10:30
michaelpivato 232ed9dd39 Update clap version and cli build 2022-10-20 12:36:49 +10:30
piv 28e3c87b98 More progress towards reciprocal allocation algorithm 2022-06-20 12:22:07 +09:30
piv 08433d6ea6 Rework reciprocal allocation to be closer to final algorithm, perform calculations off heap 2022-06-18 14:07:56 +09:30
Piv efdf4af2de Add fixes to reciprocal allocation, example cli, add move money 2022-06-18 10:30:18 +09:30