Skip to content

Commit

Permalink
datasparsity docu
Browse files Browse the repository at this point in the history
  • Loading branch information
kocvara committed Aug 17, 2024
1 parent 57cd0f0 commit f167e25
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ authors = ["Michal Kocvara <[email protected]>"]
version = "0.2.5"

[deps]
CSDP = "0a46da34-8e4b-519e-b418-48813639ff34"
ConjugateGradients = "f59de78d-195d-4e7b-a078-2e47da4c3ad6"
Dualization = "191a621a-6537-11e9-281d-650236a99e60"
FameSVD = "9ba2d756-9ce3-11e9-1a71-0ffcb019784d"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ datarank # 0..full rank matrices expected [0]
initpoint # 0..Loraine heuristics, 1..SDPT3-like heuristics [0]
timing # 1..yes, 0..no
maxit # maximal number of global iterations [200]
datasparsity # data matrices treated as sparse when number of their
# non-zero elements is below this parameter [8]
```

## Citing
Expand Down
9 changes: 9 additions & 0 deletions docs/src/Loraine_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ datarank # 0..full rank matrices expected [0]
initpoint # 0..Loraine heuristics, 1..SDPT3-like heuristics [0]
timing # 1..yes, 0..no
maxit # maximal number of global iterations [200]
datasparsity # data matrices treated as sparse when number of their
# non-zero elements is below this parameter [8]
```

## Comments
Expand Down Expand Up @@ -44,3 +46,10 @@ maxit # maximal number of global iterations [200]
- `timing` is not used when Loraine is called from JuMP

- `tol_cg, tol_cg_up, aamat`: it is not recommended to change values of these options, unless you really want to

- `datasparsity`
- data matrices treated as sparse when number of their non-zero elements is below `datasparsity` as as dense otherwise; used when computing the Schur complement matrix
- when set to zero, all matrices treated as dense
- set to high number to treat all matrices as sparse
- recommended setting between 1-16, default value is 8
- wrong setting can very significantly influence the CPU time
2 changes: 1 addition & 1 deletion examples/solve_sdpa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using JuMP
import Loraine
import CSDP
# import CSDP
# import SCS
# using Mosek
# using MosekTools
Expand Down

0 comments on commit f167e25

Please sign in to comment.