Now mapping to kHighsInf, any bounds on (semi-)integer variables that are not less than 1e9
#1573
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release-cpack | |
| on: | |
| push: | |
| # tags: | |
| # - 'v*' | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| arch: [x64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -DHIPO=ON -DBUILD_OPENBLAS=ON -DBUILD_STATIC_EXE=ON \ | |
| -DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++" | |
| cmake --build build -j2 | |
| cd build && cpack | |
| - name: Test | |
| run: ./build/bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: linux-x64-apache | |
| path: build/*.tar.gz | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.tar.gz | |
| build-linux-arm: | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| arch: [arm64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -DHIPO=ON -DBUILD_OPENBLAS=ON -DBUILD_STATIC_EXE=ON \ | |
| -DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++" | |
| cmake --build build -j2 | |
| cd build && cpack | |
| - name: Test | |
| run: ./build/bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: linux-arm64-apache | |
| path: build/*.tar.gz | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.tar.gz | |
| build-windows: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| arch: [x64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 18 2026" -A ${{ matrix.arch }} ` | |
| -DHIPO=ON -DBUILD_OPENBLAS=ON -DBUILD_STATIC_EXE=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" --solver=hipo ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-x64-apache | |
| path: build/*.zip | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.zip | |
| build-windows-32: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: [Win32] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 18 2026" -A ${{ matrix.arch }} ` | |
| -DHIPO=ON -DBUILD_OPENBLAS=ON -DBUILD_STATIC_EXE=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" --solver=hipo ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-win32-apache | |
| path: build/*.zip | |
| build-windows-arm: | |
| runs-on: windows-11-arm | |
| strategy: | |
| matrix: | |
| arch: [ARM64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch }} ` | |
| -DHIPO=ON -DBUILD_OPENBLAS=ON -DBUILD_STATIC_EXE=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" --solver=hipo ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-arm64-apache | |
| path: build/*.zip | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.zip | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build Universal Binary | |
| run: | | |
| cmake -B build -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \ | |
| -DHIPO=ON -DBUILD_STATIC_EXE=ON | |
| cmake --build build --parallel | |
| cd build && cpack | |
| - name: Test | |
| run: ./build/bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: macos-universal-apache | |
| path: build/*.tar.gz | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.tar.gz | |
| build-linux-mit: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| arch: [x64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -DBUILD_STATIC_EXE=ON | |
| cmake --build build -j2 | |
| cd build && cpack | |
| - name: Test | |
| run: ./build/bin/highs $GITHUB_WORKSPACE/check/instances/afiro.mps | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: linux-x64-mit | |
| path: build/*.tar.gz | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.tar.gz | |
| build-linux-arm-mit: | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| arch: [arm64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -DBUILD_STATIC_EXE=ON | |
| cmake --build build -j2 | |
| cd build && cpack | |
| - name: Test | |
| run: ./build/bin/highs $GITHUB_WORKSPACE/check/instances/afiro.mps | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: linux-arm64-mit | |
| path: build/*.tar.gz | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.tar.gz | |
| build-windows-mit: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| arch: [x64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 18 2026" -A ${{ matrix.arch }} ` | |
| -DBUILD_STATIC_EXE=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-x64-mit | |
| path: build/*.zip | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.zip | |
| build-windows-mit-shared: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| arch: [x64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 18 2026" -A ${{ matrix.arch }} ` | |
| -DBUILD_SHARED_LIBS=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-x64-shared-mit | |
| path: build/*.zip | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.zip | |
| build-windows-32-mit: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: [Win32] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 18 2026" -A ${{ matrix.arch }} ` | |
| -DBUILD_STATIC_EXE=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-win32-mit | |
| path: build/*.zip | |
| build-windows-arm-mit: | |
| runs-on: windows-11-arm | |
| strategy: | |
| matrix: | |
| arch: [ARM64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch }} ` | |
| -DBUILD_STATIC_EXE=ON | |
| cmake --build build --config Release --parallel | |
| cd build | |
| cpack -C Release | |
| - name: Test | |
| run: | | |
| & ".\build\Release\bin\highs.exe" ` | |
| "$env:GITHUB_WORKSPACE/check/instances/afiro.mps" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: windows-arm64-mit | |
| path: build/*.zip | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.zip | |
| build-macos-mit: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build Universal Binary | |
| run: | | |
| cmake -B build -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \ | |
| -DBUILD_STATIC_EXE=ON | |
| cmake --build build --parallel | |
| cd build && cpack | |
| - name: Test | |
| run: ./build/bin/highs $GITHUB_WORKSPACE/check/instances/afiro.mps | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: macos-universal-mit | |
| path: build/*.tar.gz | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.tar.gz |