Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atrkhomeini/ihtc_2024
the material for optimization
https://github.com/atrkhomeini/ihtc_2024
Last synced: 10 days ago
JSON representation
the material for optimization
- Host: GitHub
- URL: https://github.com/atrkhomeini/ihtc_2024
- Owner: atrkhomeini
- Created: 2024-11-26T20:25:53.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-26T20:59:54.000Z (3 months ago)
- Last Synced: 2024-12-08T01:13:13.520Z (2 months ago)
- Language: C++
- Homepage: https://ihtc2024.github.io/
- Size: 337 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dataset
[[Test Dataset]](https://ihtc2024.github.io/assets/files/ihtc2024_test_dataset.zip)[[Solution Dataset]](https://ihtc2024.github.io/assets/files/ihtc2024_test_solutions.zip)
## Validator
The validator that certifies the quality of a given solution is provided as [a C++ source code](https://github.com/ihtc2024/ihtc2024.github.io/blob/main/assets/files/IHTP_Validator.cc) and should be compiled using, for example, the GNU compiler g++. The compilation requires that file [`json.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp) is in the path. The validator receives as command line parameters the instance and the solution files, as shown in the following example:`./IHTP_Validator.exe test01.json sol_test01.json`
To get additional details on constraint violations and individual objectives, the keyword `verbose` can be added as a third parameter
### Compile IHTP_Validator
Sadly for Windows users, I use ubuntu for compile `IHTP_Validator.cc`. To compile a `.cc` file in Ubuntu, you can use the `g++` compiler, which is part of the GNU Compiler Collection (GCC) and specifically handles C++ files. Here are the steps to compile your `IHTP_Validator.cc` file:1. Install g++:
```
sudo apt update
sudo apt install g++
```
2. Navigate to the File's Directory:
```
cd /path/to/your/file```
3. Compile the file:
```
g++ -o IHTP_Validator.exe IHTP_Validator.cc```
4. Run the compile:
```
./IHTP_Validator.exe
```