Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] clarify black-box opt. in "Should you use JuMP" #3901

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/src/should_i_use.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ consider using other packages such as:

### Black-box, derivative free, or unconstrained optimization

JuMP does support nonlinear programs with constraints and objectives containing
JuMP supports nonlinear programs with constraints and objectives containing
user-defined operators. However, the functions must be automatically
differentiable, or need to provide explicit derivatives. (See
differentiable, or you need to provide explicit derivatives. (See
[User-defined operators](@ref jump_user_defined_operators) for more information.)

If your function is a black-box that is non-differentiable (for example, it is
the output of a simulation written in C++), JuMP is not the right tool for the
If your function is a black-box that is non-differentiable (for example, the
function calls a simulation written in C++), JuMP is not the right tool for the
job. This also applies if you want to use a derivative free method.

Even if your problem is differentiable, if it is unconstrained there is limited
benefit (and downsides in the form of more overhead) to using JuMP over tools
which are only concerned with function minimization.
which are concerned only with function minimization.

Alternatives to consider are:

Expand Down
Loading