Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
goulart-paul committed Mar 1, 2024
2 parents 99085c9 + c4dc518 commit 194b530
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Changelog

Changes for the Julia version of Clarabel are documented in this file. For the Rust version, see [here](https://github.com/oxfordcontrol/Clarabel.rs/blob/main/CHANGELOG.md).
Changes for the Julia version of Clarabel are documented in this file. For the Rust version, see [here](https://github.com/oxfordcontrol/Clarabel.rs/blob/main/CHANGELOG.md).

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

Version numbering in this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). We aim to keep the core solver functionality and minor releases in sync between the Rust/Python and Julia implementations. Small fixes that affect one implementation only may result in the patch release versions differing.
Version numbering in this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). We aim to keep the core solver functionality and minor releases in sync between the Rust/Python and Julia implementations. Small fixes that affect one implementation only may result in the patch release versions differing.

## [0.7.1] - 2024-29-02
### Changed

- Fixes a panic / crash condition in PSD scaling step [#78](https://github.com/oxfordcontrol/Clarabel.rs/pull/78)

## [0.7.0] - 2024-26-02
### Changed
Expand Down Expand Up @@ -96,6 +101,7 @@ Internal modifications to SDP cone implementation to reduce allocations.

- Initial release

[0.7.1]: https://github.com/oxfordcontrol/Clarabel.jl/compare/v0.7.0...v0.7.1
[0.7.0]: https://github.com/oxfordcontrol/Clarabel.jl/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/oxfordcontrol/Clarabel.jl/compare/v0.5.1...v0.6.0
[0.5.1]: https://github.com/oxfordcontrol/Clarabel.jl/compare/v0.5.0...v0.5.1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Clarabel"
uuid = "61c947e1-3e6d-4ee4-985a-eec8c727bd6e"
authors = ["Paul Goulart <[email protected]>"]
version = "0.7.0"
version = "0.7.1"

[deps]
AMD = "14f7f29c-3bd6-536c-9a0b-7339e30b5a3e"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Interior Point Conic Optimization for Julia
<a href="https://codecov.io/gh/oxfordcontrol/Clarabel.jl"><img src="https://codecov.io/gh/oxfordcontrol/Clarabel.jl/branch/main/graph/badge.svg"></a>
<a href="https://oxfordcontrol.github.io/ClarabelDocs/stable"><img src="https://img.shields.io/badge/Documentation-stable-purple.svg"></a>
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a>
<a href="https://github.com/oxfordcontrol/Clarabel.jl/releases"><img src="https://img.shields.io/badge/Release-v0.7.0-blue.svg"></a>
<a href="https://github.com/oxfordcontrol/Clarabel.jl/releases"><img src="https://img.shields.io/badge/Release-v0.7.1-blue.svg"></a>
</p>

<p align="center">
Expand Down
10 changes: 8 additions & 2 deletions src/cones/coneops_psdtrianglecone.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,14 @@ function update_scaling!(
map((M,v)->_svec_to_mat!(M,v),(S,Z),(s,z))

#compute Cholesky factors (PG: this is allocating)
f.chol1 = cholesky!(S, check = true)
f.chol2 = cholesky!(Z, check = true)
f.chol1 = cholesky!(S, check = false)
f.chol2 = cholesky!(Z, check = false)

# bail if the cholesky factorization fails
if !(issuccess(f.chol1) && issuccess(f.chol2))
return is_scaling_success = false
end

(L1,L2) = (f.chol1.L,f.chol2.L)

#SVD of L2'*L1,
Expand Down

0 comments on commit 194b530

Please sign in to comment.