Skip to content

Commit

Permalink
Updates for MOI v0.10 (#84)
Browse files Browse the repository at this point in the history
* cherry-pick 7cfeba6

* fix: interval bound with infinite bound value

* Fixes to pass MOI v0.9.9 tests

* Revert "Temporarily remove REDUCTION_CERTIFICATE"

This reverts commit f35b419.

* Add missing methods for variable primal start

* Remove support for VectorOfVariables-in-SDP constraints (#53)

* Remove support for VectorOfVariables-in-SDP constraints

* Update Julia version in .travis.yml

* Fixes

* Fixes

* Bump minimum MOI version

* Update with_optimizer in README

* Fix unbounded check

* Remove support for ZeroOne (#58)

* Fix solutions for conic problems with starting values (#67)

* Rename MosekModel to Optimizer (#68)

* Moi 10 (#75)

* remove deprecated calls

* start MOI 10

* enumerate tests

* no basis status

* add quadratic

* regroup all runtests

* deprecated call

* cached test

* Travis -> Github actions (#83)

* Implement MOI.SolverVersion (#79)

* Implement MOI.SolverVersion

* Update Project.toml

* Throw error when setting name of matrix variable (#82)

* Throw error when setting name of matrix variable

* Add test

* Exclude failing integer tests

Co-authored-by: ulfw <ulf.worsoe@mosek.com>
Co-authored-by: Mathieu Besançon <mathieu.besancon@gmail.com>
Co-authored-by: Oscar Dowson <odow@users.noreply.github.com>
  • Loading branch information
4 people committed Dec 3, 2021
1 parent 44ce684 commit b532d3e
Show file tree
Hide file tree
Showing 11 changed files with 649 additions and 599 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,46 @@
name: CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- version: '1.6'
os: ubuntu-latest
arch: x64
- version: '1'
os: ubuntu-latest
arch: x64
steps:
- name: Install xmllint
run: sudo apt-get install -y curl
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
depwarn: error
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Project.toml
Expand Up @@ -9,7 +9,7 @@ Mosek = "6405355b-0ac2-5fba-af84-adbd65488c0e"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[compat]
MathOptInterface = "0.9.5"
MathOptInterface = "0.10.5"
Mosek = "~0.9.11"
julia = "1"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ hence to use Mosek in a JuMP model, do, e.g.,
```julia
using JuMP
using MosekTools
model = Model(with_optimizer(Mosek.Optimizer, QUIET=false, INTPNT_CO_TOL_DFEAS=1e-7))
model = Model(optimizer_with_attributes(Mosek.Optimizer, "QUIET" => false, "INTPNT_CO_TOL_DFEAS" => 1e-7))
```
The parameter `QUIET` is a special parameter that when set to `true`
disables all Mosek printing output.
Expand Down

0 comments on commit b532d3e

Please sign in to comment.