I thought we had this documented somewhere, but no...
I've done it many times, and have the following note (for Linux)
- Let . be the root of HiGHS, as checked out from GitHub, and ./build be your build folder
- Decide on your install folder ("install") for HiGHS and set CMAKE_INSTALL_PREFIX to its location by running
cd build; cmake .. -DCMAKE_INSTALL_PREFIX=install
- Install HiGHS by running (from ./build)
make install
- Go back to . and run
sudo pip install . --break-system-packages
- You may need to have run
sudo apt install python3-pip
If you're on Windows I don't know how to do it