Skip to content

Commit 7a30aa0

Browse files
authored
Fix more math typos (#542)
* Simplify formula display by using the global constrained problem string. * Update changelog.
1 parent 03540f4 commit 7a30aa0

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
### Fixed
1212

13+
* Change the construction of the product manifold in `interior_point_newton` from `×` to `ProductManifold`, so that the algorithm also work on Product manifolds `M`, where it now correctly wraps `M` instead of extending it.
14+
* unifies the doc strings for constrained problems
1315
* fixes a few typos in the doc strings of matrix update formulae within the quasi-Newton and CG solver.
1416

1517
## [0.5.27] November 11, 2025

src/plans/constrained_plan.jl

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,21 @@ function set_parameter!(
5050
end
5151
get_parameter(acsf::AbstractConstrainedSlackFunctor, ::Val{:β}) = acsf.β
5252

53-
@doc """
53+
"""
5454
ConstrainedManifoldObjective{T<:AbstractEvaluationType, C<:ConstraintType} <: AbstractManifoldObjective{T}
5555
56-
Describes the constrained objective
57-
```math
58-
\\begin{aligned}
59-
$(_tex(:argmin))_{p ∈ } & f(p)\\
60-
$(_tex(:text, "subject to")) & g_i(p) ≤ 0 $(_tex(:quad)) $(_tex(:text, "for all ")) i=1,…,m,\\
61-
$(_tex(:quad)) &h_j(p)=0 $(_tex(:quad)) $(_tex(:text, "for all ")) j=1,…,n.
62-
\\end{aligned}
63-
```
56+
Describes a constrained objective
57+
58+
$(_problem(:Constrained))
6459
6560
# Fields
6661
6762
* `objective`: an [`AbstractManifoldObjective`](@ref) representing the unconstrained
6863
objective, that is containing cost ``f``, the gradient of the cost ``f`` and maybe the Hessian.
6964
* `equality_constraints`: an [`AbstractManifoldObjective`](@ref) representing the equality constraints
7065
``h: $(_math(:M)) → ℝ^n`` also possibly containing its gradient and/or Hessian
71-
* `equality_constraints`: an [`AbstractManifoldObjective`](@ref) representing the equality constraints
72-
``h: $(_math(:M)) → ℝ^n`` also possibly containing its gradient and/or Hessian
66+
* `inequality_constraints`: an [`AbstractManifoldObjective`](@ref) representing the inequality constraints
67+
``g: $(_math(:M)) → ℝ^m`` also possibly containing its gradient and/or Hessian
7368
7469
# Constructors
7570
ConstrainedManifoldObjective(f, grad_f;

0 commit comments

Comments
 (0)