ccall to maximumIterations fails
Closed this issue · 2 comments
mtanneau commented
Calling Clp.maximum_iterations
somehow ends up in a ccall
error:
import Clp
m = Clp.ClpModel()
Clp.set_maximum_iterations(m, 10)
Clp.maximum_iterations(m) # throws error
throws
ERROR: ccall: could not find function Clp_maximumIterations in library /mnt/c/Users/mathi/GitHub/Clp.jl/deps/usr/lib/libClp.so
Stacktrace:
[1] maximum_iterations(::Clp.ClpCInterface.ClpModel) at /mnt/c/Users/mathi/GitHub/Clp.jl/src/ClpCInterface.jl:197
[2] top-level scope at none:0
The function is defined in Clp's C interface, so I don't know where the problem comes from.
odow commented
It looks like they called it maximumIterations
instead of Clp_maximumIterations
.
mtanneau commented
To keep track: coin-or/Clp#119