Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomcl/ha-alloc-dj
interface code to a C++ HA implementation
https://github.com/tomcl/ha-alloc-dj
Last synced: 14 days ago
JSON representation
interface code to a C++ HA implementation
- Host: GitHub
- URL: https://github.com/tomcl/ha-alloc-dj
- Owner: tomcl
- Created: 2023-10-12T08:53:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-12T09:03:38.000Z (about 1 year ago)
- Last Synced: 2024-04-14T03:53:03.478Z (7 months ago)
- Language: F#
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FYP-Allocation-Code
## Dependencies
- Windows operating system
- C++ compiler (MinGW) - Installation tutorial: [MinGW Configuration for Visual Studio Code](https://code.visualstudio.com/docs/cpp/config-mingw)
- .NET 7 - Available at: [Download .NET](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)
- Run the following command in the first InterfacingCode directory to restore dependencies: ```dotnet restore```## Running Allocation
Allocation hyperparams can be changed in the HyperParams module, refer to the user guide on what each do.
To run the allocation, follow these steps:
1. Put the necessary CSV files from the User Guide in the `csvs` folder located in the second InterfacingCode directory.
2. Open the terminal/command prompt in the FYP-Allocation-Code directory.
3. Run the `run.bat` file by executing the following command: ```.\run.bat```## Running Tests
Tests will pass with the default hyperparams changing these can cause tests to fail.
To run the tests, follow these steps:1. Open the terminal/command prompt in the InterfacingCode.Tests directory.
2. Execute the following command: ```dotnet test```