Skip to content

Commit

Permalink
Merge pull request #773 from johannahaffner/patch-1
Browse files Browse the repository at this point in the history
Update optimization_problems.jl
  • Loading branch information
Vaibhavdixit02 authored Aug 29, 2024
2 parents 0df7b81 + 84d9235 commit b10dc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/problems/optimization_problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ where `(lb[i],ub[i])` is the box constraint (lower and upper bounds) for `u[i]`.
`lcons` and `ucons` are the upper and lower bounds in case of inequality constraints on the
optimization and if they are set to be equal then it represents an equality constraint.
They should be an `AbstractArray` matching the geometry of `u`, where `(lcons[i],ucons[i])`
They should be an `AbstractArray`, where `(lcons[i],ucons[i])`
are the lower and upper bounds for `cons[i]`.
The `f` in the `OptimizationProblem` should typically be an instance of [`OptimizationFunction`](https://docs.sciml.ai/Optimization/stable/API/optimization_function/#optfunction)
Expand Down

0 comments on commit b10dc2d

Please sign in to comment.