Using SciPy Optimization

Hello,

Regarding the capabilities of SciPy.jl, it seems it cannot incorporate the constraints SciPy.NonlinearConstraints?

Thanks

Julia has a good range of optimization libraries. You should not need to call spicy.optimize.

2 Likes

SciPy.jl uses PyCall.jl, which allows you to call essentially any Python API from Julia. So, you should be able to access any scipy.optimize API, but you may have to dig through the wrapper functions of SciPy.jl to figure out how to access it.

Alternatively, you should be able to import and call scipy.optimize directly via PyCall.jl (or via PythonCall.jl), without using SciPy.jl. Then you can just directly translate the Python API calls into Julia.

1 Like