You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is inconsistent with the description below, which states that the array must be sized to match the number of constraints.
I also cannot think of a reason why the constraint expressions should match the geometry of the minimisation variable (and many cases where this would not be true), so I am assuming that this is an erroneous half-sentence that can be removed.
Copy file name to clipboardExpand all lines: src/problems/optimization_problems.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ where `(lb[i],ub[i])` is the box constraint (lower and upper bounds) for `u[i]`.
49
49
50
50
`lcons` and `ucons` are the upper and lower bounds in case of inequality constraints on the
51
51
optimization and if they are set to be equal then it represents an equality constraint.
52
-
They should be an `AbstractArray` matching the geometry of `u`, where `(lcons[i],ucons[i])`
52
+
They should be an `AbstractArray`, where `(lcons[i],ucons[i])`
53
53
are the lower and upper bounds for `cons[i]`.
54
54
55
55
The `f` in the `OptimizationProblem` should typically be an instance of [`OptimizationFunction`](https://docs.sciml.ai/Optimization/stable/API/optimization_function/#optfunction)
0 commit comments