You will have to share a complete example to help people help you (Please read: make it easier to help you). You can also look at wrappers of NLopt which might be easier to use and better documented, e.g. Nonconvex.jl, Optimization.jl and JuMP.jl. Then there is TopOpt.jl which is more high level topopt.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| NLOPT constraint violation | 6 | 170 | May 24, 2025 | |
| NLOPT While loop problem | 14 | 757 | October 22, 2023 | |
| Optimising a non-linear user-defined function using NLopt | 5 | 1105 | May 14, 2021 | |
| Set fixed values in optimization | 5 | 259 | July 9, 2023 | |
| Is it possible to do topology optimization with JuMP.jl? | 4 | 235 | January 24, 2025 |