Skip to content

Commit 53b41fb

Browse files
odowblegat
andauthored
Prep for v1.0 release (#72)
* Prep for v1.0 release * Update README * Move to MOI.Test * Report issue upstream * Exlude failing tests on GH Actions * Exclude failing tests on CI * Exclude more tests * Exclude failing test Co-authored-by: Benoît Legat <[email protected]>
1 parent 1596b7a commit 53b41fb

File tree

11 files changed

+150
-860
lines changed

11 files changed

+150
-860
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
version: ['1.0', '1'] # Test against LTS
14+
version: ['1.6', '1'] # Test against LTS
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
1616
arch: [x64]
1717
include:
1818
# Also test against 32-bit Linux on LTS.
19-
- version: '1'
19+
- version: '1.6'
2020
os: ubuntu-latest
2121
arch: x86
2222
steps:

Project.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
name = "CSDP"
22
uuid = "0a46da34-8e4b-519e-b418-48813639ff34"
33
repo = "https://github.com/jump-dev/CSDP.jl.git"
4-
version = "0.7.3"
4+
version = "1.0.0"
55

66
[deps]
7-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
87
CSDP_jll = "9ce75daa-2788-5e2c-ba1d-cf8c48367b27"
9-
Glob = "c27321d9-0574-5035-807b-f59d2c89b15c"
10-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
118
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
129
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
1310
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1411

1512
[compat]
16-
BinaryProvider = "0.5.9"
1713
CSDP_jll = "=6.2.0, =600.200.1"
18-
Glob = "1.2"
19-
MathOptInterface = "0.10"
14+
MathOptInterface = "1"
2015
julia = "1"
2116

2217
[extras]

README.md

Lines changed: 20 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,42 @@
22

33
![](https://www.coin-or.org/wordpress/wp-content/uploads/2014/08/COINOR.png)
44

5-
`CSDP.jl` is an interface to the **[COIN-OR SemiDefinite
6-
Programming](https://projects.coin-or.org/Csdp)** solver. It provides a complete
7-
interface to the low-level C API, as well as an implementation of the
8-
solver-independent `MathProgBase` and `MathOptInterface` API's.
5+
[![Build Status](https://github.com/jump-dev/CSDP.jl/workflows/CI/badge.svg?branch=master)](https://github.com/jump-dev/CSDP.jl/actions?query=workflow%3ACI)
6+
[![codecov](https://codecov.io/gh/jump-dev/CSDP.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/jump-dev/CSDP.jl)
7+
8+
`CSDP.jl` is a wrapper for the [COIN-OR SemiDefinite Programming](https://projects.coin-or.org/Csdp)
9+
solver.
10+
11+
The wrapper has two components:
12+
* a thin wrapper around the low-level C API
13+
* an interface to [MathOptInterface](https://github.com/jump-dev/MathOptInterface.jl)
914

1015
*Note: This wrapper is maintained by the JuMP community and is not a COIN-OR
1116
project.*
1217

13-
| **Build Status** |
14-
|:----------------:|
15-
| [![Build Status][build-img]][build-url] |
16-
| [![Codecov branch][codecov-img]][codecov-url] |
17-
18-
The original algorithm is described by
19-
B. Borchers.
20-
*CSDP, A C Library for Semidefinite Programming*.
18+
The original algorithm is described by B. Borchers.
19+
_CSDP, A C Library for Semidefinite Programming_.
2120
Optimization Methods and Software 11(1):613-623, 1999.
2221
DOI [10.1080/10556789908805765](http://dx.doi.org/10.1080/10556789908805765).
2322
[Preprint](http://euler.nmt.edu/~brian/csdppaper.pdf).
2423

2524
## Installation
2625

27-
The package can be installed with `Pkg.add`.
28-
29-
```
30-
julia> import Pkg; Pkg.add("CSDP")
26+
Install CSDP using `Pkg.add`:
27+
```julia
28+
import Pkg; Pkg.add("CSDP")
3129
```
3230

33-
CSDP.jl will use [BinaryProvider.jl](https://github.com/JuliaPackaging/BinaryProvider.jl) to automatically install the CSDP binaries. This should work for both the [official Julia binaries](https://julialang.org/downloads) and source-builds.
31+
In addition to installing the CSDP.jl package, this will also download and
32+
install the CSDP binaries. (You do not need to install CSDP separately.)
3433

35-
### Using with **[JuMP]**
36-
[JuMP]: https://github.com/jump-dev/JuMP.jl
34+
## Use with JuMP
3735

3836
We highly recommend that you use the *CSDP.jl* package with higher level
3937
packages such as [CSDP.jl](https://github.com/jump-dev/CSDP.jl).
4038

41-
This can be done using the ``CSDP.Optimizer`` object. Here is how to create a
42-
*JuMP* model that uses CSDP as the solver.
39+
To use CSDP with [JuMP](https://github.com/jump-dev/JuMP.jl), use
40+
`CSDP.Optimizer`:
4341
```julia
4442
using JuMP, CSDP
4543

@@ -114,7 +112,7 @@ If the `printlevel` option is at least `1`, the following will be printed:
114112

115113
## Options
116114

117-
The CSDP options are listed in the table below. Their value can be specified in the constructor of the CSDP solver, e.g. `CSDPSolver(axtol=1e-7, printlevel=0)`.
115+
The CSDP options are listed in the table below.
118116

119117
Name | | Default Value |
120118
------------ | ----------------------------------- | -------------- |
@@ -134,8 +132,3 @@ Name |
134132
`perturbobj` | The `perturbobj` parameter determines whether the objective function will be perturbed to help deal with problems that have unbounded optimal solution sets. If `perturbobj` is `0`, then the objective will not be perturbed. If `perturbobj` is `1`, then the objective function will be perturbed by a default amount. Larger values of `perturbobj` (e.g. `100`) increase the size of the perturbation. This can be helpful in solving some difficult problems. | `1` |
135133
`fastmode` | The `fastmode` parameter determines whether or not CSDP will skip certain time consuming operations that slightly improve the accuracy of the solutions. If `fastmode` is set to `1`, then CSDP may be somewhat faster, but also somewhat less accurate | `0` |
136134
`printlevel` | The `printlevel` parameter determines how much debugging information is output. Use a `printlevel` of `0` for no output and a `printlevel` of `1` for normal output. Higher values of printlevel will generate more debugging output | `1` |
137-
138-
[build-img]: https://github.com/jump-dev/CSDP.jl/workflows/CI/badge.svg?branch=master
139-
[build-url]: https://github.com/jump-dev/CSDP.jl/actions?query=workflow%3ACI
140-
[codecov-img]: http://codecov.io/github/jump-dev/CSDP.jl/coverage.svg?branch=master
141-
[codecov-url]: http://codecov.io/github/jump-dev/CSDP.jl?branch=master

deps/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

deps/.unittest.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

deps/build.jl

Lines changed: 0 additions & 27 deletions
This file was deleted.

deps/build_CSDP.v6.2.0.jl

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)