- Thieu-Khang Nguyen
- Truong-Son Hy
- Thu-Huong Dang
- CMake (version 3.10 or higher)
- Visual Studio 2022 with C++ development tools
- IBM ILOG CPLEX Studio 12.10
Ensure that CPLEX and Concert include and library directories are correctly set in the CMakeLists.txt
.
-
Clone the repository:
git clone https://github.com/HySonLab/MatCPP.git cd MatCPP
-
Configure the project with CMake:
cmake -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -G "Visual Studio 17 2022" -S . -B ./build
-
Build the project:
cmake --build ./build --config Release
./build/Release/main.exe
-
CPLEX Setup:
Ensure that the CPLEX license and environment variables are properly configured before running the executable. -
Linking Issues:
If you encounter linking errors, verify that the paths ininclude_directories
andlink_directories
within theCMakeLists.txt
are correct.