Using Casadi from Julia
Open
- Dominant language
- Julia
- Stars
- 1.5k
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
I am using Casadi from Julia and have the following code:
```
using PyCall
cd = pyimport("casadi")
opti = cd.Opti()
x = opti.variable()
```
This results in `ValueError('call stack is not deep enough')`.
However, the following workaround works:
```
using PyCall
cd = pyimport("casadi")
opti = cd.Opti()
x = py"$(opti).variable()"
```
Also the code works fine when run directly in Python. What is the reason for this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.