Skip to content

novaphy.has_ipc

Returns whether the package was built with IPC / libuipc support.

def has_ipc() -> bool

Use this together with the optional novaphy.solvers.SolverIPC symbol — SolverIPC is None when IPC is not available — before constructing an IPC solver:

import novaphy

if novaphy.has_ipc() and novaphy.solvers.SolverIPC is not None:
    solver = novaphy.solvers.SolverIPC(model, novaphy.solvers.IPCConfig())

See Also