-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The callbacks for this bindings are implemented in an ad hoc fashion, with the primary aim to closely match the NLopt API in a Fortran-friendly way. However, this might not be the best/only way to define a callback. A better target for designing the callback for the objective function should be to provide an uniform experience compared to other optimization libraries.
The callback is for this project is defined in src/nlopt_callback.f90
. Note that this callback design creates an issue with object lifetimes (see #13).
Related:
- User-defined callback routines fortran-lang/stdlib#117
- Optimization, Root finding, and Equation Solvers fortran-lang/stdlib#87
- Use nopass to simplify the interface for the user-defined function jacobwilliams/roots-fortran#1
- Pass data as pointer fortran-lang/minpack#4
- Allow passing of user data for callback procedure fortran-lang/minpack#30
zaikunzhang
Metadata
Metadata
Assignees
Labels
No labels