Skip to content

Building python wrapper with Ipopt-support only #24

Description

@patrikhaslum

The c++ library is configured to build with support for Ipopt only if it doesn't detect Bonmin. The python wrapper, however, assumes Bonmin is always present. The changes necessary to compile the python code with Ipopt-only are small: Just remove bonmin from the "libs" and "dependencies" lists in setup.py, and comment out BonminModel (lines 438-447) in madopt.pyx. Unfortunately, I don't know of any good way to make cython/setup.py aware of the config information determined by cmake.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions