Skip to content

Commit b4eee84

Browse files
authored
[docs] remove incorrect statement about conflicting objectives (#3107)
1 parent 1a5b487 commit b4eee84

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/src/manual/nlp.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ julia> @NLobjective(model, Min, exp(x[1]) - sqrt(x[2]))
3131
```
3232
To modify a nonlinear objective, call [`@NLobjective`](@ref) again.
3333

34-
If you set an objective with both [`@objective`](@ref) and
35-
[`@NLobjective`](@ref), the nonlinear objective takes precedence, and the
36-
[`@objective`](@ref) will be ignored.
37-
3834
## Add a nonlinear constraint
3935

4036
Use [`@NLconstraint`](@ref) to add a nonlinear constraint.

0 commit comments

Comments
 (0)