From 5fdeedc9298c4de6b49c5e5e16ef3a3bf44dabfb Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Fri, 29 Sep 2023 05:50:03 +0200 Subject: [PATCH] fix OptimizationFunction refs --- src/problems/basic_problems.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/problems/basic_problems.jl b/src/problems/basic_problems.jl index aece5fa7b..fc9df9686 100644 --- a/src/problems/basic_problems.jl +++ b/src/problems/basic_problems.jl @@ -531,9 +531,9 @@ Any extra keyword arguments are captured to be sent to the optimizers. * `lb`: the lower bounds for the optimization of `u`. * `ub`: the upper bounds for the optimization of `u`. * `int`: integrality indicator for `u`. -* `lcons`: the vector of lower bounds for the constraints passed to [OptimizationFunction](@ref). +* `lcons`: the vector of lower bounds for the constraints passed to [`OptimizationFunction`](@ref). Defaults to `nothing`, implying no lower bounds for the constraints (i.e. the constraint bound is `-Inf`) -* `ucons`: the vector of upper bounds for the constraints passed to [OptimizationFunction](@ref). +* `ucons`: the vector of upper bounds for the constraints passed to [`OptimizationFunction`](@ref). Defaults to `nothing`, implying no upper bounds for the constraints (i.e. the constraint bound is `Inf`) * `sense`: the objective sense, can take `MaxSense` or `MinSense` from Optimization.jl. * `kwargs`: the keyword arguments passed on to the solvers.